EmuHawk: Deterministic Emulation Revert
This commit is contained in:
parent
b7f2363584
commit
4c5728dedb
|
@ -3589,23 +3589,12 @@ namespace BizHawk.Client.EmuHawk
|
||||||
}
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
bool deterministic;
|
// movies should require deterministic emulation in ALL cases
|
||||||
|
// if the core is managing its own DE through SyncSettings a 'deterministic' bool can be passed into the core's constructor
|
||||||
if (args.Deterministic == null)
|
// it is then up to the core itself to override its own local DeterministicEmulation setting
|
||||||
{
|
bool deterministic = args.Deterministic ?? Global.MovieSession.QueuedMovie != null;
|
||||||
// movies should require deterministic emulation in ALL cases
|
|
||||||
// if the core is managing its own DE through SyncSettings a 'deterministic' bool can be passed into the core's constructor
|
|
||||||
// it is then up to the core itself to override its own local DeterministicEmulation setting
|
|
||||||
// if a movie is *not* queued then make this false (this is needed for mGBA logic and is how things were working before I changed them -Asni)
|
|
||||||
deterministic = Global.MovieSession.QueuedMovie != null;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
// a value was actually supplied somehow - use this
|
|
||||||
deterministic = args.Deterministic.Value;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!GlobalWin.Tools.AskSave())
|
if (!GlobalWin.Tools.AskSave())
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue