mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 23:17:29 +00:00
Fix PS1 game_path
Don't assume local path has '/dev_hdd0' in it.
This commit is contained in:
parent
36d8553f9c
commit
17a9ce6fb9
@ -1135,7 +1135,7 @@ game_boot_result Emulator::Load(const std::string& title_id, bool add_only, bool
|
||||
// PS1 Classic located in dev_hdd0/game
|
||||
sys_log.notice("PS1 Game: %s, %s", m_title_id, m_title);
|
||||
|
||||
std::string gamePath = m_path.substr(m_path.find("/dev_hdd0/game/"), 24);
|
||||
const std::string game_path = "/dev_hdd0/game/" + m_path.substr(hdd0_game.size(), 9);
|
||||
|
||||
sys_log.notice("Forcing manual lib loading mode");
|
||||
g_cfg.core.lib_loading.from_string(fmt::format("%s", lib_loading_type::manual));
|
||||
@ -1147,7 +1147,7 @@ game_boot_result Emulator::Load(const std::string& title_id, bool add_only, bool
|
||||
argv[2] = m_title_id + "_mc2.VM1"; // virtual mc 2 /dev_hdd0/savedata/vmc/%argv[2]%
|
||||
argv[3] = "0082"; // region target
|
||||
argv[4] = "1600"; // ??? arg4 600 / 1200 / 1600, resolution scale? (purely a guess, the numbers seem to match closely to resolutions tho)
|
||||
argv[5] = gamePath; // ps1 game folder path (not the game serial)
|
||||
argv[5] = game_path; // ps1 game folder path (not the game serial)
|
||||
argv[6] = "1"; // ??? arg6 1 ?
|
||||
argv[7] = "2"; // ??? arg7 2 -- full screen on/off 2/1 ?
|
||||
argv[8] = "1"; // ??? arg8 2 -- smoothing on/off = 1/0 ?
|
||||
|
Loading…
Reference in New Issue
Block a user