mirror of https://github.com/mgba-emu/mgba.git
GB IO: Speculative keypad fix
This commit is contained in:
parent
73e3532277
commit
9140018b85
|
@ -107,6 +107,7 @@ static uint8_t _readKeys(struct GB* gb) {
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
// ???
|
// ???
|
||||||
|
keys = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return 0xC0 | (gb->memory.io[REG_JOYP] | 0xF) ^ (keys & 0xF);
|
return 0xC0 | (gb->memory.io[REG_JOYP] | 0xF) ^ (keys & 0xF);
|
||||||
|
|
Loading…
Reference in New Issue