Update lua-engine.cpp
Static void functions not allowed, changed to extern void
This commit is contained in:
parent
969522348a
commit
f85a02f34b
|
@ -632,7 +632,7 @@ extern void ReloadRom(void);
|
|||
// Switches the side of the disk that is currently ejected
|
||||
static int emu_switchDisk(lua_State* L)
|
||||
{
|
||||
static void FCEUI_FDSSelect();
|
||||
extern void FCEUI_FDSSelect();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -641,7 +641,7 @@ static int emu_switchDisk(lua_State* L)
|
|||
// If the disk is currently inserted into the FDS, eject it
|
||||
static int emu_insertOrEjectDisk(lua_State* L)
|
||||
{
|
||||
static void FCEUI_FDSInsert();
|
||||
extern void FCEUI_FDSInsert();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue