summaryrefslogtreecommitdiff
path: root/emu/emul.c
diff options
context:
space:
mode:
Diffstat (limited to 'emu/emul.c')
-rw-r--r--emu/emul.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/emu/emul.c b/emu/emul.c
index 53d5ed2..3ee60c0 100644
--- a/emu/emul.c
+++ b/emu/emul.c
@@ -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 );