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

Fix to Windows sleep issues #4914

merged 2 commits into from Sep 3, 2019


Copy link

@vitor-k vitor-k commented Sep 3, 2019

Fixes #4870 , uses the provided SetThreadExecutionState function to keep display and system awake while a game is being played.

This change is Reviewable

wwylele approved these changes Sep 3, 2019
Copy link

jroweboy commented Sep 3, 2019

Thanks for this PR! Got one minor minor nitpick here. Lets make a function called PreventOSSleep and AllowOSSleep and put the two #ifdefs inside those. My reason is someone might want to do the same for mac/linux someday, and it'll be instantly clear where they should add it. Other than that, looks good to me

@jroweboy jroweboy merged commit 8c2a335 into citra-emu:master Sep 3, 2019
2 of 3 checks passed
bunnei added a commit to yuzu-emu/yuzu that referenced this issue Sep 4, 2019
@vitor-k vitor-k deleted the windows-coffee branch Sep 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

4 participants