-
Notifications
You must be signed in to change notification settings - Fork 6
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
Merge 7oxicshadow's Linux fixes #6
base: retropie
Are you sure you want to change the base?
Conversation
*Add the ability to stop the render thread *Add the ability to stop the ngen thread *Add the ability to detect the window close event *Add gl_context_destroy function *Close any open controllers *Allows the nvmem to save
pi2 should now exit cleanly pi2 should now save settings general formatting clean-up Note: Raspberry pi requires keyboard.cfg in /mappings to bind esc key
This is required for Launchers that make extensive use of the "-config" command line option. Without it the RTC always resets to default because it parses a virtual config instead of the emu.cfg file. RetroPie is one of the main usage cases for this mode. If any RetroPie devs try these changes, be sure to open the Makefile and enable NO_VIRTUAL_CONFIG at the top of the file. I have rearanged the cfgopen() and parsecommandline() functions to accomodate this. Add minor fixes for tab/space corrections. Add minor fix for missing guards around closing evdev controllers.
WOAW great work, thanks a lot |
@@ -331,7 +333,7 @@ | |||
} else if (ie.code == controller->mapping->Btn_Start) { | |||
SET_FLAG(kcode[port], DC_BTN_START, ie.value); | |||
} else if (ie.code == controller->mapping->Btn_Escape) { | |||
die("death by escape key"); | |||
start_shutdown(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong indent.
ngen_terminate(); | ||
} | ||
|
||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong ident.
there are various whitespace/indent issues that should be fixed. |
the PR also contains merge commits - it needs rebasing. |
Do the commits need to be squashed? |
7oxicshadow fixed the reicast Linux build to exit cleanly so it saves settings on exit, rather than crashing. I've built and tested this on my RPi3 and it works like a charm. This PR merges in those fixes to the RetroPie branch of reicast.
Here's a thread where the patch has been discussed, and (after I posted a binary) others tried it and reported success: https://retropie.org.uk/forum/topic/364/every-time-i-play-dreamcast-displays-the-setting-screen-time-date/64