Skip to content

Commit

Permalink
rg_system: Set default frameskip back to 0
Browse files Browse the repository at this point in the history
I don't remember why it was set to 1. Were slowdowns noticed in some games/emulators or was it just an accidental change?
  • Loading branch information
ducalex committed Dec 5, 2024
1 parent becfd40 commit 51e2a1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/retro-go/rg_system.c
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ rg_app_t *rg_system_init(int sampleRate, const rg_handlers_t *handlers, const rg
.sampleRate = sampleRate,
.tickRate = 60,
.frameTime = 1000000 / 60,
.frameskip = 1, // 0,
.frameskip = 0,
.overclock = 0,
.tickTimeout = 3000000,
.lowMemoryMode = false,
Expand Down Expand Up @@ -1381,7 +1381,7 @@ rg_emu_states_t *rg_emu_get_states(const char *romPath, size_t slots)

bool rg_emu_reset(bool hard)
{
app.frameskip = 1;
app.frameskip = 0;
rg_emu_set_speed(1.f);
if (app.handlers.reset)
return app.handlers.reset(hard);
Expand Down

0 comments on commit 51e2a1e

Please sign in to comment.