diff options
author | gameblabla | 2019-10-05 03:04:57 +0200 |
---|---|---|
committer | gameblabla | 2019-10-05 03:04:57 +0200 |
commit | d4753076e89d42cdad4a4f1ca4688fad3c56d873 (patch) | |
tree | c8641cf282f427d9329db00325e16609acca8663 /source/port.h | |
parent | 943821f94b9b2e22315fce876c2e369da7a79bcf (diff) | |
download | snesemu-d4753076e89d42cdad4a4f1ca4688fad3c56d873.tar.gz snesemu-d4753076e89d42cdad4a4f1ca4688fad3c56d873.tar.bz2 snesemu-d4753076e89d42cdad4a4f1ca4688fad3c56d873.zip |
Port the libretro core and make it standalone.
TODO :
- Input should use our config file instead.
- Missing audio in some games. (Star Ocean, doesn't happen with stock retroarch code. Odd...)
Diffstat (limited to 'source/port.h')
-rw-r--r-- | source/port.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/port.h b/source/port.h index fcfe836..06c5f5e 100644 --- a/source/port.h +++ b/source/port.h @@ -3,6 +3,12 @@ #ifndef _PORT_H_ #define _PORT_H_ +#include <stdio.h> +#include <stddef.h> +#include <stdlib.h> +#include <stdint.h> + +#include <boolean.h> #include <limits.h> #include <string.h> #include <sys/types.h> @@ -62,8 +68,6 @@ void _splitpath(const char* path, char* drive, char* dir, char* fname, char* ext #define FAST_ALIGNED_LSB_WORD_ACCESS #endif -#include <libretro.h> - #define ABS(X) ((X) < 0 ? -(X) : (X)) #define MIN(A,B) ((A) < (B) ? (A) : (B)) #define MAX(A,B) ((A) > (B) ? (A) : (B)) |