Do same in ams_mitm

This commit is contained in:
leo60228 2019-05-12 09:04:58 -04:00
parent defee07625
commit 56d7473451

View file

@ -460,7 +460,11 @@ Result Utils::GetKeysHeld(u64 *keys) {
}
hidScanInput();
*keys = hidKeysHeld(CONTROLLER_P1_AUTO);
*keys = 0;
for (int controller = 0; controller < 10; controller++) {
*keys |= hidKeysHeld((HidControllerID) controller);
}
return ResultSuccess;
}