fceux/src/fceulua.h

33 lines
875 B
C
Raw Normal View History

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();
int FCEU_LuaUsingJoypad(int);
uint8 FCEU_LuaReadJoypad(int);
uint8 FCEU_LuaReadJoypadFalse(int which); //adelikat - will be used to generate a 3rd button condition - false (in addition to true & nil)
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