lua: add emu_debuggerloop
This commit is contained in:
parent
96997ddf95
commit
6021ba627d
|
@ -399,6 +399,14 @@ static int emu_poweron(lua_State *L) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int emu_debuggerloop(lua_State *L) {
|
||||
#ifdef WIN32
|
||||
extern void win_debuggerLoop();
|
||||
win_debuggerLoop();
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
// emu.softreset()
|
||||
//
|
||||
// Executes a power cycle
|
||||
|
@ -5538,6 +5546,7 @@ static int emu_exec_time(lua_State *L) { return 0; }
|
|||
static const struct luaL_reg emulib [] = {
|
||||
|
||||
{"poweron", emu_poweron},
|
||||
{"debuggerloop", emu_debuggerloop},
|
||||
{"softreset", emu_softreset},
|
||||
{"speedmode", emu_speedmode},
|
||||
{"frameadvance", emu_frameadvance},
|
||||
|
|
Loading…
Reference in New Issue