all repos — mgba @ 9140018b85a331ee8af35ea004f282922a8045e6

mGBA Game Boy Advance Emulator

GB IO: Speculative keypad fix
Jeffrey Pfau jeffrey@endrift.com
Wed, 20 Jan 2016 22:00:45 -0800
commit

9140018b85a331ee8af35ea004f282922a8045e6

parent

73e3532277c14f1eca6d5d822e56340e6352e473

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/gb/io.csrc/gb/io.c

@@ -107,6 +107,7 @@ case 0x20:

break; default: // ??? + keys = 0; break; } return 0xC0 | (gb->memory.io[REG_JOYP] | 0xF) ^ (keys & 0xF);