Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

APT: Fix typo in setting return code for NotifyToWait

bunnei2572a6248096
diff --git a/src/core/hle/service/apt_u.cpp b/src/core/hle/service/apt_u.cpp
index 007c6efef4..69a7bcf92e 100644
--- a/src/core/hle/service/apt_u.cpp
+++ b/src/core/hle/service/apt_u.cpp
@@ -65,7 +65,7 @@ void NotifyToWait(Service::Interface* self) {
// TODO(Subv): Verify this, it seems to get SWKBD and Home Menu further.
Kernel::SignalEvent(pause_event_handle);
LOG_WARNING(Service_APT, "(STUBBED) app_id=%u", app_id);
- cmd_buff[0] = 0;
+ cmd_buff[1] = 0;
}
void GetLockHandle(Service::Interface* self) {