mirror of
https://github.com/SysRay/psOff_public.git
synced 2024-11-26 16:10:49 +00:00
Merge pull request #178 from igor725/upd_eboot
Use update's eboot only if it actually exists
This commit is contained in:
commit
38806e48f2
3
main.cpp
3
main.cpp
@ -142,7 +142,8 @@ int main(int argc, char** argv) {
|
||||
fileManager.enableUpdateSearch();
|
||||
|
||||
// Change eboot.bin to update folder
|
||||
filepath = (std::filesystem::path(updateRoot) / std::filesystem::path(filepath).filename()).string();
|
||||
auto u_eboot = (std::filesystem::path(updateRoot) / std::filesystem::path(filepath).filename()).string();
|
||||
if (std::filesystem::exists(u_eboot)) filepath = u_eboot;
|
||||
}
|
||||
// - special case
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user