From 238d84ba3bdef801557a849f6be309eb5fac9dd2 Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Sun, 20 Oct 2024 21:45:08 +0300 Subject: [PATCH] DSP: Default to HLE --- include/config.hpp | 2 +- src/config.cpp | 2 +- src/libretro_core.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/config.hpp b/include/config.hpp index a8ba8946..0cffbf93 100644 --- a/include/config.hpp +++ b/include/config.hpp @@ -33,7 +33,7 @@ struct EmulatorConfig { int lightShadergenThreshold = 1; RendererType rendererType = RendererType::OpenGL; - Audio::DSPCore::Type dspType = Audio::DSPCore::Type::Null; + Audio::DSPCore::Type dspType = Audio::DSPCore::Type::HLE; bool sdCardInserted = true; bool sdWriteProtected = false; diff --git a/src/config.cpp b/src/config.cpp index 331ab137..25fded6c 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -80,7 +80,7 @@ void EmulatorConfig::load() { if (audioResult.is_ok()) { auto audio = audioResult.unwrap(); - auto dspCoreName = toml::find_or(audio, "DSPEmulation", "Null"); + auto dspCoreName = toml::find_or(audio, "DSPEmulation", "HLE"); dspType = Audio::DSPCore::typeFromString(dspCoreName); audioEnabled = toml::find_or(audio, "EnableAudio", false); } diff --git a/src/libretro_core.cpp b/src/libretro_core.cpp index 21a62f23..ce5fddaf 100644 --- a/src/libretro_core.cpp +++ b/src/libretro_core.cpp @@ -170,7 +170,7 @@ static void configInit() { {"panda3ds_use_ubershader", EmulatorConfig::ubershaderDefault ? "Use ubershaders (No stutter, maybe slower); enabled|disabled" : "Use ubershaders (No stutter, maybe slower); disabled|enabled"}, {"panda3ds_use_vsync", "Enable VSync; enabled|disabled"}, - {"panda3ds_dsp_emulation", "DSP emulation; Null|HLE|LLE"}, + {"panda3ds_dsp_emulation", "DSP emulation; HLE|LLE|Null"}, {"panda3ds_use_audio", "Enable audio; disabled|enabled"}, {"panda3ds_use_virtual_sd", "Enable virtual SD card; enabled|disabled"}, {"panda3ds_write_protect_virtual_sd", "Write protect virtual SD card; disabled|enabled"},