Re-refix gpgx loading

Pier solar needs the rom and the cd

This reverts commit 503469e4e0.
This commit is contained in:
nattthebear 2020-07-27 08:10:00 -04:00
parent 503469e4e0
commit 0d3b26ead9
1 changed files with 2 additions and 4 deletions

View File

@ -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);