mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
Improve vfs::mount
Mount /dev_bdvd/PS3_GAME if necessary
This commit is contained in:
parent
f4d2fccdfe
commit
eea2c20420
3 changed files with 29 additions and 9 deletions
|
@ -513,12 +513,17 @@ void Emulator::Load(bool add_only)
|
|||
{
|
||||
// Don't need /dev_bdvd
|
||||
}
|
||||
else if (disc.empty() && !from_hdd0_game)
|
||||
else if (m_cat == "DG" && from_hdd0_game)
|
||||
{
|
||||
vfs::mount("dev_bdvd/PS3_GAME", hdd0_game + m_path.substr(hdd0_game.size(), 10));
|
||||
LOG_NOTICE(LOADER, "Game: %s", vfs::get("/dev_bdvd/PS3_GAME"));
|
||||
}
|
||||
else if (disc.empty())
|
||||
{
|
||||
LOG_ERROR(LOADER, "Failed to mount disc directory for the disc game %s", m_title_id);
|
||||
return;
|
||||
}
|
||||
else if (!disc.empty())
|
||||
else
|
||||
{
|
||||
bdvd_dir = disc;
|
||||
vfs::mount("dev_bdvd", bdvd_dir);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue