Lua - implement client.getwindowsize
This commit is contained in:
parent
b7b8a81627
commit
64ced7533b
|
@ -499,7 +499,8 @@ namespace BizHawk.MultiClient
|
|||
|
||||
public static string[] MultiClientFunctions = new string[]
|
||||
{
|
||||
"setwindowsize",
|
||||
"getwindowsize",
|
||||
"setwindowsize",
|
||||
"openrom",
|
||||
"closerom",
|
||||
"opentoolbox",
|
||||
|
@ -2140,6 +2141,11 @@ namespace BizHawk.MultiClient
|
|||
|
||||
}
|
||||
|
||||
public int client_getwindowsize()
|
||||
{
|
||||
return Global.Config.TargetZoomFactor;
|
||||
}
|
||||
|
||||
public void client_opencheats()
|
||||
{
|
||||
Global.MainForm.LoadCheatsWindow();
|
||||
|
|
Loading…
Reference in New Issue