diff options
| author | Tortuga veloz <danielcampora@outlook.es> | 2025-03-17 14:32:57 +0100 |
|---|---|---|
| committer | Alejandro Asenjo Nitti <96613413+sonicdcer@users.noreply.github.com> | 2025-03-24 02:50:18 -0400 |
| commit | e5137ea604744186e08cc66483dc1a0c13fb625b (patch) | |
| tree | 870398d9a289153277281500ca14894fb93a89e3 /src/port/Engine.cpp | |
| parent | 8083943059ee2eeeb804bee446eba7bdacb874b1 (diff) | |
Adapt to latest libultraship.
Diffstat (limited to 'src/port/Engine.cpp')
| -rw-r--r-- | src/port/Engine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/port/Engine.cpp b/src/port/Engine.cpp index 41d525fb..4da6fd77 100644 --- a/src/port/Engine.cpp +++ b/src/port/Engine.cpp @@ -166,8 +166,8 @@ GameEngine::GameEngine() { auto window = std::make_shared<Fast::Fast3dWindow>(std::vector<std::shared_ptr<Ship::GuiWindow>>({})); - auto surroundSetting = Ship::Context::GetInstance()->GetConfig()->GetCurrentAudioSurround(); - this->context->Init(archiveFiles, {}, 3, { 32000, 1024, 1680, surroundSetting }, window, controlDeck); + auto audioChannelsSetting = Ship::Context::GetInstance()->GetConfig()->GetCurrentAudioChannelsSetting(); + this->context->Init(archiveFiles, {}, 3, { 32000, 1024, 1680, audioChannelsSetting }, window, controlDeck); #ifndef __SWITCH__ Ship::Context::GetInstance()->GetLogger()->set_level( |
