pal_utils.c 387 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #include "common.h"
  2. BOOL
  3. UTIL_GetScreenSize(
  4. DWORD *pdwScreenWidth,
  5. DWORD *pdwScreenHeight
  6. )
  7. {
  8. return FALSE;
  9. }
  10. BOOL
  11. UTIL_IsAbsolutePath(
  12. LPCSTR lpszFileName
  13. )
  14. {
  15. return FALSE;
  16. }
  17. INT
  18. UTIL_Platform_Init(
  19. int argc,
  20. char* argv[]
  21. )
  22. {
  23. gConfig.fLaunchSetting = FALSE;
  24. return 0;
  25. }
  26. VOID
  27. UTIL_Platform_Quit(
  28. VOID
  29. )
  30. {
  31. chdir("/usr/gp2x");
  32. execl("./gp2xmenu", "./gp2xmenu", NULL);
  33. }