Update or remove comments mentioning GlobalWin

This commit is contained in:
YoshiRulz 2020-11-30 20:45:21 +10:00
parent bf968acd57
commit 85faec638a
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
3 changed files with 1 additions and 11 deletions

View File

@ -190,7 +190,6 @@ namespace BizHawk.Client.Common
return true;
}
/// <remarks>warning: we don't even want to deal with changing this at runtime. but we want it changed here for config purposes. so don't check this variable. check in GlobalWin or something like that.</remarks>
public EDispMethod DispMethod { get; set; } = DetectDirectX() ? EDispMethod.SlimDX9 : EDispMethod.OpenGL;
public int DispChromeFrameWindowed { get; set; } = 2;

View File

@ -258,15 +258,6 @@ namespace BizHawk.Client.EmuHawk
Input.Instance?.Adapter?.DeInitAll();
}
//cleanup:
//cleanup IGL stuff so we can get better refcounts when exiting process, for debugging
//DOESNT WORK FOR SOME REASON
//GlobalWin.IGL_GL = new IGL_TK();
//GLManager.Instance.Dispose();
//if (GlobalWin.IGL_GL != GlobalWin.GL)
// GlobalWin.GL.Dispose();
//((IDisposable)GlobalWin.IGL_GL).Dispose();
//return 0 assuming things have gone well, non-zero values could be used as error codes or for scripting purposes
return exitCode;
} //SubMain

View File

@ -254,7 +254,7 @@ namespace BizHawk.Client.EmuHawk
}
// Upon Load State, TAStudio uses GlobalWin.Tools.UpdateBefore(); as well as GlobalWin.Tools.UpdateAfter();
// Upon Load State, TAStudio uses global ToolManager.UpdateBefore(); as well as global ToolManager.UpdateAfter();
// Both of which will Call UpdateValues() and Update() which both end up in the Update() function. Calling Update() will cause the Log to add an additional log.
// By not handling both of those calls the _currentBotAttempt.Log.Count will be 2 more than expected.
// However this also causes a problem with RamWatch not being up to date since that TOO gets called.