48 |
|
#include <gtk/gtk.h> |
49 |
|
#endif |
50 |
|
|
51 |
< |
#if ENABLE_DGA |
51 |
> |
#if ENABLE_XF86_DGA |
52 |
|
#include <X11/Xlib.h> |
53 |
|
#include <X11/Xutil.h> |
54 |
|
#include <X11/extensions/xf86dga.h> |
143 |
|
x_display_name = argv[i]; |
144 |
|
else if (strcmp(argv[i], "-break") == 0 && ++i < argc) |
145 |
|
ROMBreakpoint = strtol(argv[i], NULL, 0); |
146 |
+ |
else if (strcmp(argv[i], "-rominfo") == 0) |
147 |
+ |
PrintROMInfo = true; |
148 |
|
} |
149 |
|
|
150 |
|
// Open display |
156 |
|
QuitEmulator(); |
157 |
|
} |
158 |
|
|
159 |
< |
#if ENABLE_DGA |
159 |
> |
#if ENABLE_XF86_DGA && !ENABLE_MON |
160 |
|
// Fork out, so we can return from fullscreen mode when things get ugly |
161 |
|
XF86DGAForkApp(DefaultScreen(x_display)); |
162 |
|
#endif |