mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-03 08:52:39 +00:00
Core::GetState: Avoid Global System Accessor
This commit is contained in:
parent
db0cd82326
commit
eb92d6f0a8
42 changed files with 135 additions and 101 deletions
|
@ -66,10 +66,10 @@ GamecubeControllersWidget::GamecubeControllersWidget(QWidget* parent) : QWidget(
|
|||
ConnectWidgets();
|
||||
|
||||
connect(&Settings::Instance(), &Settings::ConfigChanged, this,
|
||||
[this] { LoadSettings(Core::GetState()); });
|
||||
[this] { LoadSettings(Core::GetState(Core::System::GetInstance())); });
|
||||
connect(&Settings::Instance(), &Settings::EmulationStateChanged, this,
|
||||
[this](Core::State state) { LoadSettings(state); });
|
||||
LoadSettings(Core::GetState());
|
||||
LoadSettings(Core::GetState(Core::System::GetInstance()));
|
||||
}
|
||||
|
||||
void GamecubeControllersWidget::CreateLayout()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue