Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config: Port remaining Core settings to new config system (part 2). #10349

Merged
merged 14 commits into from Jan 6, 2022

Conversation

AdmiralCurtiss
Copy link
Contributor

@AdmiralCurtiss AdmiralCurtiss commented Jan 6, 2022

The next one of these.

Source/Core/AudioCommon/Mixer.cpp Outdated Show resolved Hide resolved

const bool sd_card_inserted = Config::Get(Config::MAIN_WII_SD_CARD);
if ((sd_card_inserted && m_event->type == EVENT_INSERT) ||
(!sd_card_inserted && m_event->type == EVENT_REMOVE))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be cool if we could make this code use callbacks to detect the SD card being inserted/ejected instead of needing to manually call this EventNotify function. In particular, it would make it possible to insert/eject SD cards during emulation on Android. But we can save that for another PR.

@dolphin-emu-bot
Copy link
Contributor

FifoCI detected that this change impacts graphical rendering. Here are the behavior differences detected by the system:

  • DKCR-Char on mvk-osx-m1: diff
  • DKCR-fast-depth on mvk-osx-m1: diff
  • ea-pink on mvk-osx-m1: diff
  • lego-star-wars-crane-shadow on mvk-osx-m1: diff
  • mp2-scanner on mvk-osx-m1: diff
  • pm-hc-jp on mvk-osx-m1: diff
  • ssbb-mod-lloyd on mvk-osx-m1: diff

automated-fifoci-reporter

@JMC47 JMC47 merged commit 193ca92 into dolphin-emu:master Jan 6, 2022
10 checks passed
@AdmiralCurtiss AdmiralCurtiss deleted the config-port-core-2 branch January 6, 2022 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants