Integrated the changes by PheeL for Caanoo support
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1629 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
|
||||
|
||||
// There is no WM on the GP2X...
|
||||
#ifndef __GP2X__
|
||||
#if !defined(__GP2X__) && !defined(__WIZ__) && !defined(__CAANOO__)
|
||||
#include <SDL_syswm.h>
|
||||
#endif
|
||||
|
||||
@@ -887,6 +887,12 @@ void Program_shutdown(void)
|
||||
Error(ERROR_MISSING_DIRECTORY);
|
||||
|
||||
SDL_Quit();
|
||||
|
||||
#if defined(__GP2X__) || defined(__gp2x__) || defined(__WIZ__) || defined(__CAANOO__)
|
||||
chdir("/usr/gp2x");
|
||||
execl("/usr/gp2x/gp2xmenu", "/usr/gp2x/gp2xmenu", NULL);
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user