2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

ptm_sysm: Add static specifier to IsLegacyPowerOff

This commit is contained in:
Lioncash 2015-04-24 18:23:14 -04:00
parent 4dbe358a71
commit 1baab50e7c

View file

@ -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;