Fixup for Emu.EjectDisc()

This commit is contained in:
Nekotekina 2022-06-24 19:20:53 +03:00 committed by Ivan
parent ea23525f66
commit ec59d7d26b

View File

@ -2287,9 +2287,9 @@ void Emulator::EjectDisc()
return;
}
if (vfs::get("/dev_bdvd").empty())
if (vfs::get("/dev_bdvd").empty() && vfs::get("/dev_ps2disc").empty())
{
sys_log.error("Can not eject disc if dev_bdvd is not mounted!");
sys_log.error("Can not eject disc if both dev_bdvd and dev_ps2disc are not mounted!");
return;
}