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_XF86_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 |
353 |
|
*/ |
354 |
|
|
355 |
|
#if ENABLE_MON |
356 |
+ |
extern void m68k_dumpstate(uaecptr *nextpc); |
357 |
|
static void sigint_handler(...) |
358 |
|
{ |
359 |
+ |
uaecptr nextpc; |
360 |
+ |
m68k_dumpstate(&nextpc); |
361 |
|
char *arg[2] = {"rmon", NULL}; |
362 |
|
mon(1, arg); |
363 |
|
QuitEmulator(); |