mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-11-28 06:20:19 +00:00
Merge pull request #710 from lioncash/static
ptm_sysm: Add static specifier to IsLegacyPowerOff
This commit is contained in:
commit
d8b22d8b87
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ namespace PTM {
|
||||||
* 1: Result code, 0 on success, otherwise error code
|
* 1: Result code, 0 on success, otherwise error code
|
||||||
* 2: Whether the system is going through a power off
|
* 2: Whether the system is going through a power off
|
||||||
*/
|
*/
|
||||||
void IsLegacyPowerOff(Service::Interface* self) {
|
static void IsLegacyPowerOff(Service::Interface* self) {
|
||||||
u32* cmd_buff = Kernel::GetCommandBuffer();
|
u32* cmd_buff = Kernel::GetCommandBuffer();
|
||||||
cmd_buff[1] = RESULT_SUCCESS.raw;
|
cmd_buff[1] = RESULT_SUCCESS.raw;
|
||||||
cmd_buff[2] = 0;
|
cmd_buff[2] = 0;
|
||||||
|
|
Loading…
Reference in a new issue