aboutsummaryrefslogtreecommitdiff
path: root/source/port.h
diff options
context:
space:
mode:
authoraliaspider2014-10-28 03:13:05 +0100
committeraliaspider2014-10-28 03:13:05 +0100
commit5a96997f186b2cff1a24ed5572430fe0f031e8d3 (patch)
treed61c43d74818018e17d8142025b42d3139559395 /source/port.h
parentf3dab3957cf020af5a10ea64d8f77692d10be973 (diff)
downloadsnesemu-5a96997f186b2cff1a24ed5572430fe0f031e8d3.tar.gz
snesemu-5a96997f186b2cff1a24ed5572430fe0f031e8d3.tar.bz2
snesemu-5a96997f186b2cff1a24ed5572430fe0f031e8d3.zip
initial libretro port.
Diffstat (limited to 'source/port.h')
-rw-r--r--source/port.h6
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.