port_config.h 981 B

12345678910111213141516171819202122232425262728293031323334353637
  1. // port specific settings
  2. #ifndef PORT_CONFIG_H
  3. #define PORT_CONFIG_H
  4. #define CASE_SENSITIVE_FS 0
  5. #define DONT_OPEN_MANY_FILES 1 // work around the stupid PSP ~10 open file limit
  6. #define REDUCE_IO_CALLS 1 // another workaround
  7. #define SIMPLE_WRITE_SOUND 0
  8. // draw.c
  9. #define USE_BGR555 1
  10. #define OVERRIDE_HIGHCOL 1
  11. // draw2.c
  12. #define START_ROW 0 // which row of tiles to start rendering at?
  13. #define END_ROW 28 // ..end
  14. #define DRAW2_OVERRIDE_LINE_WIDTH 512
  15. // pico.c
  16. extern void blit1(void);
  17. #define DRAW_FINISH_FUNC blit1
  18. #define CAN_HANDLE_240_LINES 1
  19. // logging emu events
  20. #define EL_LOGMASK (EL_STATUS|EL_IDLE) // (EL_STATUS|EL_ANOMALY|EL_UIO|EL_SRAMIO) // xffff
  21. //#define dprintf(f,...) printf("%05i:%03i: " f "\n",Pico.m.frame_count,Pico.m.scanline,##__VA_ARGS__)
  22. #define dprintf(x...)
  23. // platform
  24. #define PLAT_MAX_KEYS 32
  25. #define PLAT_HAVE_JOY 0
  26. #define PATH_SEP "/"
  27. #define PATH_SEP_C '/'
  28. #endif //PORT_CONFIG_H