Lua - implement client.getwindowsize

This commit is contained in:
adelikat 2012-12-21 23:50:29 +00:00
parent b7b8a81627
commit 64ced7533b
1 changed files with 7 additions and 1 deletions

View File

@ -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();