VERY experimental Nintendo Switch 2 emulator
C++
Fix wrong branch
Filiph Sandströmd248fba5e34c
diff --git a/src/core/hle/service/ptm/ptm.cpp b/src/core/hle/service/ptm/ptm.cppindex 2c7d49c9f8..22c1093ff8 100644--- a/src/core/hle/service/ptm/ptm.cpp+++ b/src/core/hle/service/ptm/ptm.cpp@@ -68,6 +68,18 @@ void GetBatteryChargeState(Service::Interface* self) {LOG_WARNING(Service_PTM, "(STUBBED) called");}+void GetTotalStepCount(Service::Interface* self) {+ u32* cmd_buff = Kernel::GetCommandBuffer();++ // TODO: This function is only a stub,+ // it returns 0 as the total step count++ cmd_buff[1] = RESULT_SUCCESS.raw;+ cmd_buff[2] = 0;++ LOG_WARNING(Service_PTM, "(STUBBED) called");+}+void IsLegacyPowerOff(Service::Interface* self) {u32* cmd_buff = Kernel::GetCommandBuffer();