GB: Fix keys
Jeffrey Pfau jeffrey@endrift.com
Thu, 21 Jan 2016 01:11:29 -0800
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/gb/io.c
→
src/gb/io.c
@@ -100,10 +100,10 @@
static uint8_t _readKeys(struct GB* gb) { uint8_t keys = *gb->keySource; switch (gb->memory.io[REG_JOYP] & 0x30) { - case 0x10: + case 0x20: keys >>= 4; break; - case 0x20: + case 0x10: break; default: // ???