pal_config.h 706 B

123456789101112131415161718192021222324
  1. #ifndef PAL_CONFIG_H
  2. # define PAL_CONFIG_H
  3. # define PAL_HAS_JOYSTICKS 0
  4. # define PAL_PREFIX "ms0:/"
  5. # define PAL_SAVE_PREFIX "ms0:/PSP/SAVEDATA/SDLPAL/"
  6. # define PAL_DEFAULT_WINDOW_WIDTH 320
  7. # define PAL_DEFAULT_WINDOW_HEIGHT 240
  8. # if SDL_VERSION_ATLEAST(2,0,0)
  9. # define PAL_VIDEO_INIT_FLAGS (SDL_WINDOW_SHOWN)
  10. # else
  11. # define PAL_VIDEO_INIT_FLAGS (SDL_SWSURFACE | SDL_FULLSCREEN)
  12. # endif
  13. # define PAL_SDL_INIT_FLAGS (SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_CDROM | SDL_INIT_NOPARACHUTE | SDL_INIT_JOYSTICK)
  14. # define PAL_SCALE_SCREEN FALSE
  15. # define PAL_PLATFORM "Sony PSP"
  16. # define PAL_CREDIT "(Unknown)"
  17. # define PAL_PORTYEAR "2011"
  18. #endif