summaryrefslogtreecommitdiff
path: root/emu/emu.c
diff options
context:
space:
mode:
Diffstat (limited to 'emu/emu.c')
-rw-r--r--emu/emu.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/emu/emu.c b/emu/emu.c
index 53431c2..539c89b 100644
--- a/emu/emu.c
+++ b/emu/emu.c
@@ -68,12 +68,11 @@ int main( int argc, char *argv[] )
emul_init( &emul, &cpu, &bus, args_info.width_arg, args_info.height_arg );
if( args_info.gui_given ) {
- if( args_info.debug_given ) {
- fprintf( stderr, "ERROR: don't run debug and GUI together! Uses too many resources!\n" );
- exit( EXIT_SUCCESS );
- }
emul.gui = true;
}
+ if( args_info.debug_given ) {
+ emul.debug = true;
+ }
emul_start( &emul );
cpu_6502_reset( &cpu );