Open dpogue opened 1 month ago
Would be nice to have a "Prevent system from going to sleep" checkbox in the options while the game is running
IMO, no computer should go to sleep while Uru is runnng.
This should be reasonably easy using IOPMAssertionCreateWithName with kIOPMAssertionTypePreventUserIdleSystemSleep
IOPMAssertionCreateWithName
kIOPMAssertionTypePreventUserIdleSystemSleep
Would be nice to have a "Prevent system from going to sleep" checkbox in the options while the game is running