fix gpgx_swap_disc, re-enable disk buttons (seems to work?)
This commit is contained in:
parent
011f4bfe03
commit
e41d1a996e
Assets/dll
src/BizHawk.Emulation.Cores/Consoles/Sega/gpgx64
waterbox/gpgx/core/cd_hw
Binary file not shown.
|
@ -359,7 +359,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Sega.gpgx
|
|||
if (!Core.gpgx_get_control(input, inputsize))
|
||||
throw new Exception($"{nameof(Core.gpgx_get_control)}() failed");
|
||||
|
||||
ControlConverter = new GPGXControlConverter(input, false); // _cds != null);
|
||||
ControlConverter = new GPGXControlConverter(input, _cds != null);
|
||||
ControllerDefinition = ControlConverter.ControllerDef;
|
||||
}
|
||||
|
||||
|
|
|
@ -157,13 +157,14 @@ void cdd_hotswap(const toc_t *toc)
|
|||
if (toc)
|
||||
{
|
||||
cdd.loaded = 1;
|
||||
memcpy(&cdd.toc, &toc, sizeof(cdd.toc));
|
||||
memcpy(&cdd.toc, toc, sizeof(cdd.toc));
|
||||
}
|
||||
else
|
||||
{
|
||||
cdd.loaded = 0;
|
||||
memset(&cdd.toc, 0x00, sizeof(cdd.toc));
|
||||
}
|
||||
|
||||
cdd_reset();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue