yuzu qt: Remove global system instances from config, WaitTree, main
This commit is contained in:
parent
d40819cfb1
commit
3aec34df0a
69 changed files with 687 additions and 635 deletions
|
@ -16,7 +16,8 @@
|
|||
|
||||
namespace FS = Common::FS;
|
||||
|
||||
Config::Config(const std::string& config_name, ConfigType config_type) : type(config_type) {
|
||||
Config::Config(Core::System& system_, const std::string& config_name, ConfigType config_type)
|
||||
: type(config_type), system{system_} {
|
||||
global = config_type == ConfigType::GlobalConfig;
|
||||
|
||||
Initialize(config_name);
|
||||
|
@ -1593,7 +1594,7 @@ void Config::Reload() {
|
|||
ReadValues();
|
||||
// To apply default value changes
|
||||
SaveValues();
|
||||
Core::System::GetInstance().ApplySettings();
|
||||
system.ApplySettings();
|
||||
}
|
||||
|
||||
void Config::Save() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue