Update or remove comments mentioning GlobalWin
This commit is contained in:
parent
bf968acd57
commit
85faec638a
|
@ -190,7 +190,6 @@ namespace BizHawk.Client.Common
|
||||||
return true;
|
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 EDispMethod DispMethod { get; set; } = DetectDirectX() ? EDispMethod.SlimDX9 : EDispMethod.OpenGL;
|
||||||
|
|
||||||
public int DispChromeFrameWindowed { get; set; } = 2;
|
public int DispChromeFrameWindowed { get; set; } = 2;
|
||||||
|
|
|
@ -258,15 +258,6 @@ namespace BizHawk.Client.EmuHawk
|
||||||
Input.Instance?.Adapter?.DeInitAll();
|
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 0 assuming things have gone well, non-zero values could be used as error codes or for scripting purposes
|
||||||
return exitCode;
|
return exitCode;
|
||||||
} //SubMain
|
} //SubMain
|
||||||
|
|
|
@ -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.
|
// 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.
|
// 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.
|
// However this also causes a problem with RamWatch not being up to date since that TOO gets called.
|
||||||
|
|
Loading…
Reference in New Issue