Commit d8b2fcba authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Convert race-memory.cpp to C

parent d0bb666b
......@@ -9,14 +9,15 @@
#include <ctype.h>
#include <math.h>
struct SYSTEMINFO {
typedef struct SYSTEMINFO
{
int hSize;
int vSize;
int Ticks;
int InputKeys[12];
};
} SYSTEMINFO;
struct EMUINFO
typedef struct EMUINFO
{
char RomFileName[_MAX_PATH];
......@@ -24,7 +25,7 @@ struct EMUINFO
int romSize; // what is the size of the currently loaded file
int samples;
SYSTEMINFO *drv;
};
} EMUINFO;
#define KEY_UP 0
#define KEY_DOWN 1
......
......@@ -29,6 +29,9 @@
#endif
#endif
#ifdef __cplusplus
extern "C" {
#endif
extern unsigned char mainram[]; /* All RAM areas */
extern unsigned char mainrom[]; /* ROM image area */
......@@ -452,4 +455,8 @@ static inline void tlcsMemWriteB(unsigned int addr, unsigned char data)
flashChipWrite(addr, data);
}
#ifdef __cplusplus
}
#endif
#endif /* _MEMORYH_ */
......@@ -43,7 +43,6 @@ void gbSoundUpdate(void);
void gbSoundWrite(int reg, unsigned char data);
/* Neogeo pocket sound functions */
void sound_update(void);
void ngpSoundStart(void);
void ngpSoundExecute(void);
void ngpSoundOff(void);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment