From cbbfa871ae3d9db3852d9122a6d8355896c073ed Mon Sep 17 00:00:00 2001 From: João Silva Date: Mon, 16 Jan 2017 22:39:57 +0000 Subject: Many cleanups. --- source/port.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'source/port.h') 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 #include -/* #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 -#endif +#define MIN(A,B) ((A) < (B) ? (A) : (B)) +#define MAX(A,B) ((A) > (B) ? (A) : (B)) +#endif -- cgit v1.2.3