SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 33090a5cc0f34bcc1f50973777a90edc8965e33c parent f1e5e041983f1433eebdb3c8a55c328d56467ca5 Author: Lior Halphon <LIJI32@gmail.com> Date: Fri, 26 Nov 2021 13:38:52 +0200 Fix an oops from the last commit Diffstat:
| M | Core/timing.c | 10 | ++++------ |
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/Core/timing.c b/Core/timing.c @@ -98,13 +98,11 @@ void GB_timing_sync(GB_gameboy_t *gb) if (gb->cycles_since_last_sync < LCDC_PERIOD / 3) return; gb->cycles_since_last_sync = 0; - if (gb->turbo) { - gb->cycles_since_last_sync = 0; - if (gb->update_input_hint_callback) { - gb->update_input_hint_callback(gb); - } - return; + gb->cycles_since_last_sync = 0; + if (gb->update_input_hint_callback) { + gb->update_input_hint_callback(gb); } + return; } #endif
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.