mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
Add game patch support in 'Create PPU Caches'
Try to compile patched version of EBOOT.BIN
This commit is contained in:
parent
1507a59786
commit
2d2ed7efd0
1 changed files with 12 additions and 0 deletions
|
@ -965,6 +965,18 @@ game_boot_result Emulator::Load(const std::string& title_id, bool add_only, bool
|
|||
std::vector<std::string> dir_queue;
|
||||
dir_queue.emplace_back(m_path + '/');
|
||||
|
||||
// Find game update to use EBOOT.BIN from it, also add its directory to scan
|
||||
if (m_cat == "DG")
|
||||
{
|
||||
const std::string hdd0_path = vfs::get("/dev_hdd0/game/") + m_title_id;
|
||||
|
||||
if (fs::is_file(hdd0_path + "/USRDIR/EBOOT.BIN"))
|
||||
{
|
||||
m_path = hdd0_path;
|
||||
dir_queue.emplace_back(m_path + '/');
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::pair<std::string, u64>> file_queue;
|
||||
file_queue.reserve(2000);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue