2008-09-24 06:06:31 +00:00
|
|
|
#ifdef _S9XLUA_H
|
2008-07-23 06:54:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
// Just forward function declarations
|
|
|
|
|
|
|
|
//void FCEU_LuaWrite(uint32 addr);
|
|
|
|
void FCEU_LuaFrameBoundary();
|
|
|
|
int FCEU_LoadLuaCode(const char *filename);
|
|
|
|
void FCEU_ReloadLuaCode();
|
|
|
|
void FCEU_LuaStop();
|
|
|
|
int FCEU_LuaRunning();
|
|
|
|
|
2009-09-15 16:39:49 +00:00
|
|
|
uint8 FCEU_LuaReadJoypad(int,uint8); // HACK - Function needs controller input
|
2008-07-23 06:54:14 +00:00
|
|
|
int FCEU_LuaSpeed();
|
|
|
|
int FCEU_LuaFrameskip();
|
|
|
|
int FCEU_LuaRerecordCountSkip();
|
|
|
|
|
|
|
|
void FCEU_LuaGui(uint8 *XBuf);
|
|
|
|
void FCEU_LuaUpdatePalette();
|
|
|
|
|
|
|
|
// And some interesting REVERSE declarations!
|
|
|
|
char *FCEU_GetFreezeFilename(int slot);
|
|
|
|
|
|
|
|
// Call this before writing into a buffer passed to FCEU_CheatAddRAM().
|
|
|
|
// (That way, Lua-based memwatch will work as expected for somebody
|
|
|
|
// used to FCEU's memwatch.)
|
|
|
|
void FCEU_LuaWriteInform();
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|