mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 17:01:24 +12:00
patch_engine: Apply patch when APP_VER is unknown
This commit is contained in:
parent
75c3fdcb6f
commit
511e9920c2
3 changed files with 3 additions and 10 deletions
|
@ -923,8 +923,9 @@ game_boot_result Emulator::Load(const std::string& title_id, bool add_only, bool
|
|||
m_title_id = std::string(psf::get_string(_psf, "TITLE_ID"));
|
||||
m_cat = std::string(psf::get_string(_psf, "CATEGORY"));
|
||||
|
||||
m_app_version = std::string(psf::get_string(_psf, "APP_VER", "Unknown"));
|
||||
const auto version_app = psf::get_string(_psf, "APP_VER", "Unknown");
|
||||
const auto version_disc = psf::get_string(_psf, "VERSION", "Unknown");
|
||||
m_app_version = version_app == "Unknown" ? version_disc : version_app;
|
||||
|
||||
if (!_psf.empty() && m_cat.empty())
|
||||
{
|
||||
|
@ -935,7 +936,7 @@ game_boot_result Emulator::Load(const std::string& title_id, bool add_only, bool
|
|||
sys_log.notice("Title: %s", GetTitle());
|
||||
sys_log.notice("Serial: %s", GetTitleID());
|
||||
sys_log.notice("Category: %s", GetCat());
|
||||
sys_log.notice("Version: %s / %s", GetAppVersion(), version_disc);
|
||||
sys_log.notice("Version: APP_VER=%s VERSION=%s", version_app, version_disc);
|
||||
|
||||
if (!add_only && !force_global_config && m_config_override_path.empty())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue