early-access version 3984

This commit is contained in:
pineappleEA
2023-11-20 17:40:24 +01:00
parent 8fe516bf12
commit 6fbbdb7c4e
43 changed files with 1769 additions and 1430 deletions

View File

@@ -68,10 +68,7 @@ u64 StandardVmCallbacks::HidKeysDown() {
return 0;
}
const auto press_state =
applet_resource
->GetController<Service::HID::Controller_NPad>(Service::HID::HidController::NPad)
.GetAndResetPressState();
const auto press_state = applet_resource->GetNpad()->GetAndResetPressState();
return static_cast<u64>(press_state & HID::NpadButton::All);
}