mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +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
|
@ -240,7 +240,7 @@ void AdvancedPane::ConnectLayout()
|
|||
|
||||
void AdvancedPane::Update()
|
||||
{
|
||||
const bool running = Core::GetState() != Core::State::Uninitialized;
|
||||
const bool running = Core::GetState(Core::System::GetInstance()) != Core::State::Uninitialized;
|
||||
const bool enable_cpu_clock_override_widgets = Config::Get(Config::MAIN_OVERCLOCK_ENABLE);
|
||||
const bool enable_ram_override_widgets = Config::Get(Config::MAIN_RAM_OVERRIDE_ENABLE);
|
||||
const bool enable_custom_rtc_widgets = Config::Get(Config::MAIN_CUSTOM_RTC_ENABLE) && !running;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue