fix oopsie loading cds in gpgx after recent romloader cleanups. fixes #2252
This commit is contained in:
parent
2cdc978e2f
commit
503469e4e0
|
@ -72,8 +72,6 @@ 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();
|
||||
|
@ -81,6 +79,10 @@ 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);
|
||||
|
|
Loading…
Reference in New Issue