mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-01 16:13:23 +00:00
Fix argv for DG category
This commit is contained in:
parent
4fd69a09c7
commit
c0a0cb98c5
@ -683,7 +683,13 @@ void Emulator::Load(bool add_only)
|
|||||||
|
|
||||||
if (argv[0].empty())
|
if (argv[0].empty())
|
||||||
{
|
{
|
||||||
if (m_path.find(hdd0_game) != -1)
|
if (from_hdd0_game && m_cat == "DG")
|
||||||
|
{
|
||||||
|
argv[0] = "/dev_bdvd/PS3_GAME/" + m_path.substr(hdd0_game.size() + 10);
|
||||||
|
m_dir = "/dev_hdd0/game/" + m_path.substr(hdd0_game.size(), 10);
|
||||||
|
LOG_NOTICE(LOADER, "Disc path: %s", m_dir);
|
||||||
|
}
|
||||||
|
else if (from_hdd0_game)
|
||||||
{
|
{
|
||||||
argv[0] = "/dev_hdd0/game/" + m_path.substr(hdd0_game.size());
|
argv[0] = "/dev_hdd0/game/" + m_path.substr(hdd0_game.size());
|
||||||
m_dir = "/dev_hdd0/game/" + m_path.substr(hdd0_game.size(), 10);
|
m_dir = "/dev_hdd0/game/" + m_path.substr(hdd0_game.size(), 10);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user