diff --git a/rpcs3/Emu/system_utils.cpp b/rpcs3/Emu/system_utils.cpp index 2bb2f32b72..867c0032b9 100644 --- a/rpcs3/Emu/system_utils.cpp +++ b/rpcs3/Emu/system_utils.cpp @@ -226,7 +226,7 @@ namespace rpcs3::utils return edat_path; } - bool verify_c00_unlock_edat(const std::string_view& content_id) + bool verify_c00_unlock_edat(const std::string_view& content_id, bool fast) { const std::string edat_path = rpcs3::utils::get_c00_unlock_edat_path(content_id); @@ -239,6 +239,10 @@ namespace rpcs3::utils return false; } + // Use simple check for GUI + if (fast) + return true; + u128 k_licensee = get_default_self_klic(); std::string edat_content_id; @@ -325,10 +329,10 @@ namespace rpcs3::utils // This is a trial game. Check if the user has EDAT file to unlock it. const auto c00_title_id = psf::get_string(psf, "TITLE_ID"); - if (fs::is_file(game_path + "/C00/PARAM.SFO") && verify_c00_unlock_edat(content_id)) + if (fs::is_file(game_path + "/C00/PARAM.SFO") && verify_c00_unlock_edat(content_id, true)) { // Load full game data. - sys_log.notice("Verified EDAT file %s.edat for trial game %s", content_id, c00_title_id); + sys_log.notice("Found EDAT file %s.edat for trial game %s", content_id, c00_title_id); return game_path + "/C00"; } } diff --git a/rpcs3/Emu/system_utils.hpp b/rpcs3/Emu/system_utils.hpp index a30dff5761..e403d17b88 100644 --- a/rpcs3/Emu/system_utils.hpp +++ b/rpcs3/Emu/system_utils.hpp @@ -27,7 +27,7 @@ namespace rpcs3::utils std::string get_cache_dir(); std::string get_rap_file_path(const std::string_view& rap); - bool verify_c00_unlock_edat(const std::string_view& content_id); + bool verify_c00_unlock_edat(const std::string_view& content_id, bool fast = false); std::string get_sfo_dir_from_game_path(const std::string& game_path, const std::string& title_id = ""); std::string get_custom_config_dir();