Fix an oops from the last commit
This commit is contained in:
parent
f1e5e04198
commit
33090a5cc0
@ -98,13 +98,11 @@ void GB_timing_sync(GB_gameboy_t *gb)
|
|||||||
if (gb->cycles_since_last_sync < LCDC_PERIOD / 3) return;
|
if (gb->cycles_since_last_sync < LCDC_PERIOD / 3) return;
|
||||||
gb->cycles_since_last_sync = 0;
|
gb->cycles_since_last_sync = 0;
|
||||||
|
|
||||||
if (gb->turbo) {
|
gb->cycles_since_last_sync = 0;
|
||||||
gb->cycles_since_last_sync = 0;
|
if (gb->update_input_hint_callback) {
|
||||||
if (gb->update_input_hint_callback) {
|
gb->update_input_hint_callback(gb);
|
||||||
gb->update_input_hint_callback(gb);
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user