diff --git a/src/BizHawk.Emulation.Cores/Consoles/Sega/gpgx64/GPGX.cs b/src/BizHawk.Emulation.Cores/Consoles/Sega/gpgx64/GPGX.cs index 8b4d7b1d34..5b9366ccad 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Sega/gpgx64/GPGX.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Sega/gpgx64/GPGX.cs @@ -72,6 +72,8 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx CoreComm = lp.Comm; + _romfile = lp.Roms.FirstOrDefault()?.RomData; + if (lp.Discs.Count > 0) { _cds = lp.Discs.Select(d => d.DiscData).ToArray(); @@ -79,10 +81,6 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx Core.gpgx_set_cdd_callback(cd_callback_handle); DriveLightEnabled = true; } - else - { - _romfile = lp.Roms.FirstOrDefault().RomData; - } LibGPGX.INPUT_SYSTEM system_a = SystemForSystem(_syncSettings.ControlTypeLeft); LibGPGX.INPUT_SYSTEM system_b = SystemForSystem(_syncSettings.ControlTypeRight);