diff options
Diffstat (limited to 'emu/emul.c')
-rw-r--r-- | emu/emul.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -118,7 +118,7 @@ void emul_run( emul_t *emul, int nof_steps ) emul->paused = true; break; case SDLK_s: - cpu_6502_run( emul->cpu, 1 ); + cpu_6502_run_steps( emul->cpu, 1 ); break; case SDLK_EQUALS: case SDLK_KP_EQUALS: @@ -147,7 +147,7 @@ void emul_run( emul_t *emul, int nof_steps ) } if( !emul->paused ) { - cpu_6502_run( emul->cpu, emul->speed / DISPLAY_FPS ); + cpu_6502_run_cycles( emul->cpu, emul->speed / DISPLAY_FPS ); } SDL_RenderCopy( emul->renderer, emul->background_texture, NULL, NULL ); @@ -171,7 +171,7 @@ void emul_run( emul_t *emul, int nof_steps ) } } } else { - cpu_6502_run( emul->cpu, nof_steps ); + cpu_6502_run_steps( emul->cpu, nof_steps ); } #else cpu_6502_run( emul->cpu, nof_steps ); |