diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-12-10 19:50:39 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-12-10 19:50:39 +0100 |
commit | 1269d11d15f1014b7ac87fc2bb2c76367404e16c (patch) | |
tree | d8d4595811b279d2e7d5ccef32f55ba5cbcba585 /emu/emul.c | |
parent | 84e25eb07749636b48deb802d673f44841c55d91 (diff) | |
download | 6502-1269d11d15f1014b7ac87fc2bb2c76367404e16c.tar.gz 6502-1269d11d15f1014b7ac87fc2bb2c76367404e16c.tar.bz2 |
some more unit testing
Diffstat (limited to 'emu/emul.c')
-rw-r--r-- | emu/emul.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -97,7 +97,7 @@ void emul_run( emul_t *emul, int nof_steps ) print_help( ); } - while( !done ) { + while( !done && emul->cpu->error_state == ERROR_STATE_OK ) { uint32_t frame_start = SDL_GetTicks( ); SDL_PollEvent( &event ); |