From 6378e16fdf3d5bce7cd3629b42b6300e312700f3 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Mon, 13 Sep 2021 01:21:11 +0200 Subject: [PATCH] Emu.Load: add more logging --- rpcs3/Emu/System.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rpcs3/Emu/System.cpp b/rpcs3/Emu/System.cpp index 5d8cb909cb..4ac2948356 100644 --- a/rpcs3/Emu/System.cpp +++ b/rpcs3/Emu/System.cpp @@ -137,6 +137,8 @@ void Emulator::Init(bool add_only) { if (const fs::file cfg_file{m_config_path, fs::read + fs::create}) { + sys_log.notice("Applying config override: %s", m_config_path); + if (!g_cfg.from_string(cfg_file.to_string())) { sys_log.fatal("Failed to apply config: %s. Proceeding with regular configuration.", m_config_path); @@ -162,6 +164,8 @@ void Emulator::Init(bool add_only) if (const fs::file cfg_file{cfg_path, fs::read + fs::create}) { + sys_log.notice("Applying global config: %s", cfg_path); + if (!g_cfg.from_string(cfg_file.to_string())) { sys_log.fatal("Failed to apply global config: %s", cfg_path); @@ -517,6 +521,8 @@ game_boot_result Emulator::Load(const std::string& title_id, bool add_only, bool m_title_id = title_id; } + sys_log.notice("Selected config: %s", m_config_path); + { Init(add_only);