| 138 | } |
| 139 | |
| 140 | void initPowerTickThread() { |
| 141 | SceUID thid = sceKernelCreateThread("power_tick_thread", power_tick_thread, 0x10000100, 0x40000, 0, 0, NULL); |
| 142 | if (thid >= 0) |
| 143 | sceKernelStartThread(thid, 0, NULL); |
| 144 | } |
| 145 | |
| 146 | void powerLock() { |
| 147 | if (!lock_power) |