SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 0c2772942e8276dfe6e7d49f67f46043547d9f15 parent dbd33684e866ce58db589a794b9f6ce20b76cfc5 Author: Lior Halphon <LIJI32@gmail.com> Date: Sun, 24 Jul 2022 14:49:58 +0300 Oops Diffstat:
| M | Core/joypad.c | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/Core/joypad.c b/Core/joypad.c @@ -121,6 +121,7 @@ void GB_set_key_state(GB_gameboy_t *gb, GB_key_t index, bool pressed) { assert(index >= 0 && index < GB_KEY_MAX); if (should_bounce(gb) && pressed != gb->keys[0][index]) { + gb->joypad_is_stable = false; gb->key_bounce_timing[index] = bounce_for_key(gb, index); } gb->keys[0][index] = pressed;
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.