Bugfix BIOS functions getting GC

This commit is contained in:
Alessandro Proto 2023-01-20 10:50:59 +01:00
parent 1eecf58cd0
commit 5636cb0b0d

View file

@ -155,7 +155,7 @@ public class Bios : IPlugin
OpenBios = true;
}
private int L_OpenDataFolder(IntPtr state)
private static int L_OpenDataFolder(IntPtr state)
{
var path = FileSystem.DataPath;
switch (Environment.OSVersion.Platform)
@ -171,13 +171,13 @@ public class Bios : IPlugin
return 0;
}
private int L_InstallOS(IntPtr state)
private static int L_InstallOS(IntPtr state)
{
InstallOS(true);
return 0;
}
private int L_Exit(IntPtr state)
private static int L_Exit(IntPtr state)
{
CloseRuntime = true;
return 0;