mirror of https://github.com/mgba-emu/mgba.git
3DS: Support C-Pad for D-Pad
This commit is contained in:
parent
0ab9190b10
commit
908a20856f
|
@ -185,7 +185,8 @@ int main() {
|
|||
|
||||
while (aptMainLoop()) {
|
||||
hidScanInput();
|
||||
int activeKeys = hidKeysHeld() & 0x3FF;
|
||||
uint32_t activeKeys = hidKeysHeld() & 0xF00003FF;
|
||||
activeKeys |= activeKeys >> 24;
|
||||
if (hidKeysDown() & KEY_X) {
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue