diff options
| author | 2015-10-23 23:58:54 +0200 | |
|---|---|---|
| committer | 2015-10-23 23:58:54 +0200 | |
| commit | 0c84d59a278f69df47e4c0b35a1bac1a7b947904 (patch) | |
| tree | 5a005a0b746b25182f3ec9978f2fcf6ef327ff6d /src/core | |
| parent | Add GetTotalStepCount Stub (diff) | |
| download | yuzu-0c84d59a278f69df47e4c0b35a1bac1a7b947904.tar.gz yuzu-0c84d59a278f69df47e4c0b35a1bac1a7b947904.tar.xz yuzu-0c84d59a278f69df47e4c0b35a1bac1a7b947904.zip | |
Fix wrong branch
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/service/ptm/ptm.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/hle/service/ptm/ptm.cpp b/src/core/hle/service/ptm/ptm.cpp index 2c7d49c9f..22c1093ff 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) { | |||
| 68 | LOG_WARNING(Service_PTM, "(STUBBED) called"); | 68 | LOG_WARNING(Service_PTM, "(STUBBED) called"); |
| 69 | } | 69 | } |
| 70 | 70 | ||
| 71 | void GetTotalStepCount(Service::Interface* self) { | ||
| 72 | u32* cmd_buff = Kernel::GetCommandBuffer(); | ||
| 73 | |||
| 74 | // TODO: This function is only a stub, | ||
| 75 | // it returns 0 as the total step count | ||
| 76 | |||
| 77 | cmd_buff[1] = RESULT_SUCCESS.raw; | ||
| 78 | cmd_buff[2] = 0; | ||
| 79 | |||
| 80 | LOG_WARNING(Service_PTM, "(STUBBED) called"); | ||
| 81 | } | ||
| 82 | |||
| 71 | void IsLegacyPowerOff(Service::Interface* self) { | 83 | void IsLegacyPowerOff(Service::Interface* self) { |
| 72 | u32* cmd_buff = Kernel::GetCommandBuffer(); | 84 | u32* cmd_buff = Kernel::GetCommandBuffer(); |
| 73 | 85 | ||