SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit b770bbea2eb3358a0dfcb5432653c7280aab1acd parent 486f8a2c109b6f212ad7ba8380964c25378ba543 Author: Lior Halphon <LIJI32@gmail.com> Date: Thu, 2 Dec 2021 11:21:12 +0200 Fix save state issue that caused vblank callbacks timings to differ Diffstat:
| M | Core/save_state.c | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Core/save_state.c b/Core/save_state.c @@ -347,7 +347,7 @@ static void sanitize_state(GB_gameboy_t *gb) gb->window_tile_x &= 0x1F; /* These are kind of DOS-ish if too large */ - if (abs(gb->display_cycles) > 0x8000) { + if (abs(gb->display_cycles) > 0x80000) { gb->display_cycles = 0; }
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.