Lua Scripts Don't Disable If You Record A New Movie Nor When You Reset The Game. However, It Does When You Load A Different Rom.
This commit is contained in:
parent
31d65725bd
commit
2b9483f68f
|
@ -1229,6 +1229,12 @@ namespace BizHawk.MultiClient
|
||||||
|
|
||||||
Text = DisplayNameForSystem(game.System) + " - " + game.Name;
|
Text = DisplayNameForSystem(game.System) + " - " + game.Name;
|
||||||
ResetRewindBuffer();
|
ResetRewindBuffer();
|
||||||
|
if (Global.Config.RecentRoms.GetRecentFileByPosition(0) != file.CanonicalFullPath)
|
||||||
|
{
|
||||||
|
#if WINDOWS
|
||||||
|
LuaConsole1.Restart();
|
||||||
|
#endif
|
||||||
|
}
|
||||||
Global.Config.RecentRoms.Add(file.CanonicalFullPath);
|
Global.Config.RecentRoms.Add(file.CanonicalFullPath);
|
||||||
if (File.Exists(PathManager.SaveRamPath(game)))
|
if (File.Exists(PathManager.SaveRamPath(game)))
|
||||||
LoadSaveRam();
|
LoadSaveRam();
|
||||||
|
@ -1252,9 +1258,6 @@ namespace BizHawk.MultiClient
|
||||||
TAStudio1.Restart();
|
TAStudio1.Restart();
|
||||||
Cheats1.Restart();
|
Cheats1.Restart();
|
||||||
ToolBox1.Restart();
|
ToolBox1.Restart();
|
||||||
#if WINDOWS
|
|
||||||
LuaConsole1.Restart();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (Global.Config.LoadCheatFileByGame)
|
if (Global.Config.LoadCheatFileByGame)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue