Try to mount a new disc always

.. even if the eject action didn't appear to eject anything
This commit is contained in:
Jeff Epler 2025-04-16 19:39:08 +02:00
parent f34ec2a1b9
commit ac0ccec3f9

View file

@ -427,11 +427,12 @@ int16_t SonyControl(uint32_t pb, uint32_t dce)
if(info->num == 1)
umac_disc_ejected();
else if(info->op_next) {
disc_descr_t *new_disc = info->op_next(info->op_ctx);
if (new_disc) {
SonyInit1(info, new_disc);
}
}
if(info->op_next) {
DERR("DISC: mount new\n");
disc_descr_t *new_disc = info->op_next(info->op_ctx);
if (new_disc) {
SonyInit1(info, new_disc);
}
}
break;