mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Config: Port WiiSDCard setting to new config system.
This commit is contained in:
@ -696,14 +696,14 @@ void Settings::SetBatchModeEnabled(bool batch)
|
||||
|
||||
bool Settings::IsSDCardInserted() const
|
||||
{
|
||||
return SConfig::GetInstance().m_WiiSDCard;
|
||||
return Config::Get(Config::MAIN_WII_SD_CARD);
|
||||
}
|
||||
|
||||
void Settings::SetSDCardInserted(bool inserted)
|
||||
{
|
||||
if (IsSDCardInserted() != inserted)
|
||||
{
|
||||
SConfig::GetInstance().m_WiiSDCard = inserted;
|
||||
Config::SetBaseOrCurrent(Config::MAIN_WII_SD_CARD, inserted);
|
||||
emit SDCardInsertionChanged(inserted);
|
||||
|
||||
auto* ios = IOS::HLE::GetIOS();
|
||||
|
Reference in New Issue
Block a user