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 drastic savestates, deepsleep, and screenshots #1387

Merged
merged 9 commits into from
Jan 23, 2024

Conversation

Aemiii91
Copy link
Member

No description provided.

schmurtzm and others added 9 commits January 20, 2024 00:29
Test to fix some corrupted savestates (white screen at loading) :

Modification of terminate_drastic function:
- send only one time the exit shortcut
- don't quit this function if Drastic has not exited itself (if in some cases it doesn't qui the user should have to quit by the menu)
- We add sleep(2); after drastic process disappear (only in case of shutdown)

Using deepsleep(); instead of shutdown(); in keymon suspend_exec function
- Extra check before making a screenshot
- The deepsleep function waits for the system to shutdown
- The screenshot function pauses drastic before performing a screenshot
@Aemiii91 Aemiii91 merged commit bb59bfd into main Jan 23, 2024
3 checks passed
@Aemiii91 Aemiii91 deleted the FIX-Drastic-savestate-fix branch January 23, 2024 19:07
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 this pull request may close these issues.

3 participants