From c7b0b280339064ab1b673ab7767d0318b2e9b72a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 29 Nov 2020 19:31:22 +0100 Subject: 7-segment display is now drawn --- emu/emu.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'emu/emu.c') 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 ); -- cgit v1.2.3-54-g00ecf