From afce3ee2ed178141922ebf27b25c055555d5dd2c Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 30 Mar 2020 00:09:35 +0000 Subject: [PATCH] Qt: add more headers for non-Vulkan rpcs3/rpcs3qt/emu_settings.cpp:111:44: error: use of undeclared identifier 'g_cfg' for (const auto& v : cfg_adapter::get_cfg(g_cfg, begin, end).to_list()) ^ rpcs3/rpcs3qt/emu_settings.cpp:262:60: error: use of undeclared identifier 'Emulator' fs::create_path(title_id.empty() ? fs::get_config_dir() : Emulator::GetCustomConfigDir()); ^ rpcs3/rpcs3qt/emu_settings.cpp:276:39: error: use of undeclared identifier 'Emulator' const std::string config_path_new = Emulator::GetCustomConfigPath(m_title_id); ^ rpcs3/rpcs3qt/emu_settings.cpp:277:39: error: use of undeclared identifier 'Emulator' const std::string config_path_old = Emulator::GetCustomConfigPath(m_title_id, true); ^ rpcs3/rpcs3qt/emu_settings.cpp:308:17: error: use of undeclared identifier 'Emulator' config_name = Emulator::GetCustomConfigPath(m_title_id); ^ rpcs3/rpcs3qt/emu_settings.cpp:319:21: error: use of undeclared identifier 'g_cfg' if (config_name == g_cfg.name || m_title_id == Emu.GetTitleID()) ^ rpcs3/rpcs3qt/emu_settings.cpp:319:49: error: use of undeclared identifier 'Emu' if (config_name == g_cfg.name || m_title_id == Emu.GetTitleID()) ^ rpcs3/rpcs3qt/emu_settings.cpp:322:3: error: use of undeclared identifier 'g_cfg' g_cfg.from_string(config.to_string(), true); ^ rpcs3/rpcs3qt/emu_settings.cpp:324:8: error: use of undeclared identifier 'Emu' if (!Emu.IsStopped()) // Don't spam the log while emulation is stopped. The config will be logged on boot anyway. ^ rpcs3/rpcs3qt/emu_settings.cpp:326:51: error: use of undeclared identifier 'g_cfg' cfg_log.notice("Updated configuration:\n%s\n", g_cfg.to_string()); ^ --- rpcs3/rpcs3qt/emu_settings.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpcs3/rpcs3qt/emu_settings.cpp b/rpcs3/rpcs3qt/emu_settings.cpp index e0a50f30e8..3c7afcf03d 100644 --- a/rpcs3/rpcs3qt/emu_settings.cpp +++ b/rpcs3/rpcs3qt/emu_settings.cpp @@ -12,6 +12,8 @@ #include #include +#include "Emu/System.h" +#include "Emu/system_config.h" #if defined(_WIN32) || defined(HAVE_VULKAN) #include "Emu/RSX/VK/VKHelpers.h" #endif