diff --git a/main.cpp b/main.cpp index 8a7d44d..367d243 100644 --- a/main.cpp +++ b/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