tastudio: insure against all sorts of silent corruption.
This commit is contained in:
parent
92bcca8b7d
commit
e362ecdbbf
|
@ -894,6 +894,10 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
get
|
||||
{
|
||||
// prevent nasty silent corruption
|
||||
if (!GlobalWin.Tools.IsLoaded<TAStudio>())
|
||||
System.Diagnostics.Debug.Fail("TAStudio does not exist!");
|
||||
|
||||
var tool = _tools.FirstOrDefault(x => x is TAStudio);
|
||||
if (tool != null)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue