Skip to content

Commit 02094fe

Browse files
committed
Fix enum comparison in PUAE ctor
fixes 15af421
1 parent 15af421 commit 02094fe

File tree

1 file changed

+1
-1
lines changed
  • src/BizHawk.Emulation.Cores/Computers/Amiga

1 file changed

+1
-1
lines changed

src/BizHawk.Emulation.Cores/Computers/Amiga/PUAE.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public PUAE(CoreLoadParameters<object, PUAESyncSettings> lp)
4646
//_discs = lp.Discs;
4747
_syncSettings = lp.SyncSettings ?? new();
4848
_syncSettings.FloppyDrives = Math.Min(LibPUAE.MAX_FLOPPIES, _syncSettings.FloppyDrives);
49-
DeterministicEmulation = (int)_syncSettings.FloppySpeed == FloppySpeed._100 || lp.DeterministicEmulationRequested;
49+
DeterministicEmulation = lp.DeterministicEmulationRequested || _syncSettings.FloppySpeed is FloppySpeed._100;
5050
var filesToRemove = new List<string>();
5151

5252
_ports = [

0 commit comments

Comments
 (0)