diff options
author | João Silva | 2017-01-16 22:39:57 +0000 |
---|---|---|
committer | João Silva | 2017-01-16 22:39:57 +0000 |
commit | cbbfa871ae3d9db3852d9122a6d8355896c073ed (patch) | |
tree | 73e7755d117b8dd9eea499977c632727deb20d00 /source/port.h | |
parent | 7ed90abe19954aaf1fa56657a08e3cae4c8a67ce (diff) | |
download | snes9x2005-cbbfa871ae3d9db3852d9122a6d8355896c073ed.tar.gz snes9x2005-cbbfa871ae3d9db3852d9122a6d8355896c073ed.tar.bz2 snes9x2005-cbbfa871ae3d9db3852d9122a6d8355896c073ed.zip |
Many cleanups.
Diffstat (limited to 'source/port.h')
-rw-r--r-- | source/port.h | 7 |
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 |