Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS] Uru should (optionally) hold a wakelock assertion #1600

Open
dpogue opened this issue Jul 6, 2024 · 2 comments · May be fixed by #1602
Open

[macOS] Uru should (optionally) hold a wakelock assertion #1600

dpogue opened this issue Jul 6, 2024 · 2 comments · May be fixed by #1602

Comments

@dpogue
Copy link
Member

dpogue commented Jul 6, 2024

Would be nice to have a "Prevent system from going to sleep" checkbox in the options while the game is running

@Hoikas
Copy link
Member

Hoikas commented Jul 6, 2024

IMO, no computer should go to sleep while Uru is runnng.

@dpogue
Copy link
Member Author

dpogue commented Jul 6, 2024

This should be reasonably easy using IOPMAssertionCreateWithName with kIOPMAssertionTypePreventUserIdleSystemSleep

@dpogue dpogue linked a pull request Jul 8, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants