mirror of
https://github.com/dabonetn/linapple-pie.git
synced 2024-06-01 19:41:29 +00:00
Update Applewin.cpp
This commit is contained in:
parent
c26ee49610
commit
91fb612b16
|
@ -350,28 +350,27 @@ void EnterMessageLoop ()
|
||||||
ContinueExecution();
|
ContinueExecution();
|
||||||
if (g_nAppMode != MODE_DEBUG)
|
if (g_nAppMode != MODE_DEBUG)
|
||||||
{
|
{
|
||||||
if (joyexitenable)
|
if (joyexitenable)
|
||||||
{
|
{
|
||||||
CheckJoyExit();
|
CheckJoyExit();
|
||||||
if (joyquitevent) {
|
if (joyquitevent)
|
||||||
if(g_fh)
|
{
|
||||||
{
|
if(g_fh)
|
||||||
fprintf(g_fh,"*** Logging ended\n\n");
|
{
|
||||||
fclose(g_fh);
|
fprintf(g_fh,"*** Logging ended\n\n");
|
||||||
}
|
fclose(g_fh);
|
||||||
|
}
|
||||||
|
|
||||||
RiffFinishWriteFile();
|
RiffFinishWriteFile();
|
||||||
fclose(registry); //close conf file (linapple.conf by default)
|
fclose(registry); //close conf file (linapple.conf by default)
|
||||||
SDL_Quit();
|
SDL_Quit();
|
||||||
// CURL routines
|
// CURL routines
|
||||||
curl_easy_cleanup(g_curl);
|
curl_easy_cleanup(g_curl);
|
||||||
curl_global_cleanup();
|
curl_global_cleanup();
|
||||||
//
|
printf("Linapple: successfully exited!\n");
|
||||||
printf("Linapple: successfully exited!\n");
|
std::_Exit(0);
|
||||||
std::_Exit(0);
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
if (g_bFullSpeed)
|
if (g_bFullSpeed)
|
||||||
ContinueExecution();
|
ContinueExecution();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user