aboutsummaryrefslogtreecommitdiff
path: root/source/port.h
diff options
context:
space:
mode:
authorAlcaro2017-01-17 00:37:18 +0100
committerGitHub2017-01-17 00:37:18 +0100
commit6e9a6c9b040035cdc7d015b8bdb21e920c811dca (patch)
tree73e7755d117b8dd9eea499977c632727deb20d00 /source/port.h
parent7ed90abe19954aaf1fa56657a08e3cae4c8a67ce (diff)
parentcbbfa871ae3d9db3852d9122a6d8355896c073ed (diff)
downloadsnes9x2005-6e9a6c9b040035cdc7d015b8bdb21e920c811dca.tar.gz
snes9x2005-6e9a6c9b040035cdc7d015b8bdb21e920c811dca.tar.bz2
snes9x2005-6e9a6c9b040035cdc7d015b8bdb21e920c811dca.zip
Merge pull request #26 from jamsilva/master
Cleanups v2
Diffstat (limited to 'source/port.h')
-rw-r--r--source/port.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/port.h b/source/port.h
index 125d656..b887fe1 100644
--- a/source/port.h
+++ b/source/port.h
@@ -8,7 +8,6 @@
#include <string.h>
#include <sys/types.h>
-/* #define PIXEL_FORMAT RGB565 */
#ifdef PSP
#define PIXEL_FORMAT BGR555
#else
@@ -40,8 +39,6 @@ void _splitpath(const char* path, char* drive, char* dir, char* fname,
#define strncasecmp strnicmp
#endif
-void S9xGenerateSound(void);
-
#define SLASH_STR "/"
#define SLASH_CHAR '/'
@@ -56,5 +53,7 @@ void S9xGenerateSound(void);
#include <libretro.h>
-#endif
+#define MIN(A,B) ((A) < (B) ? (A) : (B))
+#define MAX(A,B) ((A) > (B) ? (A) : (B))
+#endif