mirror of
https://github.com/SysRay/psOff_public.git
synced 2024-11-22 22:09:39 +00:00
Use update's eboot only if it actually exists
This commit is contained in:
parent
84c77ed5f0
commit
664f2fbeee
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