Added Lua window hooks to old sdl port that are now needed by core library. These functions do not do much on the old port and really only exist to resolve linker issues.
This commit is contained in:
parent
4e9601a241
commit
982ed7689d
|
@ -77,6 +77,8 @@ int pal_emulation;
|
|||
int dendy;
|
||||
bool swapDuty;
|
||||
|
||||
static bool luaScriptRunning = false;
|
||||
|
||||
// -Video Modes Tag- : See --special
|
||||
static const char *DriverUsage=
|
||||
"Option Value Description\n"
|
||||
|
@ -1002,6 +1004,27 @@ void FCEUD_PrintError(const char *errormsg)
|
|||
fprintf(stderr, "%s\n", errormsg);
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
void WinLuaOnStart(intptr_t hDlgAsInt)
|
||||
{
|
||||
luaScriptRunning = true;
|
||||
|
||||
//printf("Lua Script Running: %i \n", luaScriptRunning );
|
||||
}
|
||||
//----------------------------------------------------
|
||||
void WinLuaOnStop(intptr_t hDlgAsInt)
|
||||
{
|
||||
luaScriptRunning = false;
|
||||
|
||||
//printf("Lua Script Running: %i \n", luaScriptRunning );
|
||||
}
|
||||
//----------------------------------------------------
|
||||
void PrintToWindowConsole(intptr_t hDlgAsInt, const char* str)
|
||||
{
|
||||
printf("Lua Output: %s\n", str );
|
||||
}
|
||||
//----------------------------------------------------
|
||||
|
||||
|
||||
// dummy functions
|
||||
|
||||
|
|
Loading…
Reference in New Issue