From d3713a6cba57b32ec6e52f135daf4a765dc0ea61 Mon Sep 17 00:00:00 2001 From: feos Date: Thu, 21 Nov 2024 17:30:43 +0300 Subject: [PATCH] puae: fix crash on null settings --- src/BizHawk.Emulation.Cores/Computers/Amiga/PUAE.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Emulation.Cores/Computers/Amiga/PUAE.cs b/src/BizHawk.Emulation.Cores/Computers/Amiga/PUAE.cs index 99c0010f2b3..cef5e9e87c9 100644 --- a/src/BizHawk.Emulation.Cores/Computers/Amiga/PUAE.cs +++ b/src/BizHawk.Emulation.Cores/Computers/Amiga/PUAE.cs @@ -54,7 +54,7 @@ public partial class PUAE : WaterboxCore [CoreConstructor(VSystemID.Raw.Amiga)] public PUAE(CoreLoadParameters lp) - : base(lp.Comm, lp.SyncSettings.Region is VideoStandard.PAL ? ConfigPAL : ConfigNTSC) + : base(lp.Comm, lp.SyncSettings?.Region is VideoStandard.NTSC ? ConfigNTSC : ConfigPAL) { _roms = lp.Roms; _syncSettings = lp.SyncSettings ?? new();