diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-11-29 19:31:22 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-11-29 19:31:22 +0100 |
commit | c7b0b280339064ab1b673ab7767d0318b2e9b72a (patch) | |
tree | b597ee3f3c36db401eccb5bca5e8d7f8a8db8485 /emu/emu.c | |
parent | aca930d803177cb6ea8ebadd77b6ef09ab2b5b49 (diff) | |
download | 6502-c7b0b280339064ab1b673ab7767d0318b2e9b72a.tar.gz 6502-c7b0b280339064ab1b673ab7767d0318b2e9b72a.tar.bz2 |
7-segment display is now drawn
Diffstat (limited to 'emu/emu.c')
-rw-r--r-- | emu/emu.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 ); |