Remove check that stops a nymacore from creating "thread" in deterministic mode

The MT ppu renderer in saturn looks cool to me, so it probably won't cause nondeterminism, probably

Fixes #2126
This commit is contained in:
nattthebear 2020-06-12 14:31:00 -04:00
parent 61b852c571
commit eb811b7d79
1 changed files with 3 additions and 2 deletions

View File

@ -157,8 +157,9 @@ namespace BizHawk.Emulation.Cores.Waterbox
_frameThreadPtr = _nyma.GetFrameThreadProc();
if (_frameThreadPtr != IntPtr.Zero)
{
if (deterministic)
throw new InvalidOperationException("Internal error: Core set a frame thread proc in deterministic mode");
// This will probably be fine, right? TODO: Revisit
// if (deterministic)
// throw new InvalidOperationException("Internal error: Core set a frame thread proc in deterministic mode");
Console.WriteLine($"Setting up waterbox thread for {_frameThreadPtr}");
_frameThreadStart = CallingConventionAdapters.Waterbox.GetDelegateForFunctionPointer<Action>(_frameThreadPtr);
}