Lua - implement client.paint()
This commit is contained in:
parent
d391d275ef
commit
380fc781e3
|
@ -4565,5 +4565,10 @@ namespace BizHawk.MultiClient
|
|||
{
|
||||
LoadRom(CurrentlyOpenRom);
|
||||
}
|
||||
|
||||
public void ForcePaint()
|
||||
{
|
||||
GlobalWinF.DisplayManager.NeedsToPaint = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -33,6 +33,7 @@ namespace BizHawk.MultiClient
|
|||
"opentasstudio",
|
||||
"opentoolbox",
|
||||
"opentracelogger",
|
||||
"paint",
|
||||
"pause",
|
||||
"pause_av",
|
||||
"reboot_core",
|
||||
|
@ -149,6 +150,11 @@ namespace BizHawk.MultiClient
|
|||
GlobalWinF.MainForm.LoadTraceLogger();
|
||||
}
|
||||
|
||||
public static void client_paint()
|
||||
{
|
||||
GlobalWinF.MainForm.ForcePaint();
|
||||
}
|
||||
|
||||
public static void client_pause()
|
||||
{
|
||||
GlobalWinF.MainForm.PauseEmulator();
|
||||
|
|
Loading…
Reference in New Issue