diff options
author | aliaspider | 2014-10-28 03:13:05 +0100 |
---|---|---|
committer | aliaspider | 2014-10-28 03:13:05 +0100 |
commit | 5a96997f186b2cff1a24ed5572430fe0f031e8d3 (patch) | |
tree | d61c43d74818018e17d8142025b42d3139559395 /source/port.h | |
parent | f3dab3957cf020af5a10ea64d8f77692d10be973 (diff) | |
download | snes9x2005-5a96997f186b2cff1a24ed5572430fe0f031e8d3.tar.gz snes9x2005-5a96997f186b2cff1a24ed5572430fe0f031e8d3.tar.bz2 snes9x2005-5a96997f186b2cff1a24ed5572430fe0f031e8d3.zip |
initial libretro port.
Diffstat (limited to 'source/port.h')
-rw-r--r-- | source/port.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/port.h b/source/port.h index 1e34410..719fc18 100644 --- a/source/port.h +++ b/source/port.h @@ -93,7 +93,7 @@ #include <limits.h> #ifndef STORM -#include <memory.h> +//#include <memory.h> #include <string.h> #else #include <strings.h> @@ -111,7 +111,11 @@ #include <sys/types.h> /* #define PIXEL_FORMAT RGB565 */ +#ifdef PSP #define PIXEL_FORMAT BGR555 +#else +#define PIXEL_FORMAT RGB565 +#endif #define FOREVER_16_BIT // The above is used to disable the 16-bit graphics mode checks sprinkled // throughout the code, if the pixel format is always 16-bit. |