Update config.cpp

This commit is contained in:
wheremyfoodat 2024-02-28 17:54:26 +02:00 committed by GitHub
parent fffa1f508c
commit ff8885a081
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,9 +68,9 @@ void EmulatorConfig::load() {
if (audioResult.is_ok()) {
auto audio = audioResult.unwrap();
auto dspCoreName = toml::find_or<std::string>(audio, "DSPEmulation", "Null");
auto dspCoreName = toml::find_or<std::string>(audio, "DSPEmulation", "lle");
dspType = Audio::DSPCore::typeFromString(dspCoreName);
audioEnabled = toml::find_or<toml::boolean>(audio, "EnableAudio", false);
audioEnabled = toml::find_or<toml::boolean>(audio, "EnableAudio", true);
}
}