This commit is contained in:
SuuperW 2020-07-27 10:43:46 -05:00
commit 60cc8d944f
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);