Basic Surround Sound support. (#6204)

This commit is contained in:
tortugaveloz 2026-01-28 06:14:57 +01:00 committed by GitHub
parent e2db315ffa
commit a365446832
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 1 deletions

@ -1 +1 @@
Subproject commit 8c55f607f2249f3ac696fc0f7277553fe3ce75a6
Subproject commit 5c8b975de422c71fd6cda44ada5543c9067f57a2

View file

@ -1,4 +1,5 @@
#include <libultraship/libultra.h>
#include <libultraship/bridge/audiobridge.h>
#include "global.h"
#include "soh/OTRGlobals.h"
#include "soh/Enhancements/audio/AudioEditor.h"
@ -4970,18 +4971,26 @@ void func_800F6700(s8 arg0) {
case 0:
sp1F = 0;
D_80130604 = 0;
// SOH [Port] Inform LUS of audio setting change
SetAudioChannels(audioStereo);
break;
case 1:
sp1F = 3;
D_80130604 = 3;
// SOH [Port] Inform LUS of audio setting change
SetAudioChannels(audioStereo);
break;
case 2:
sp1F = 1;
D_80130604 = 1;
// SOH [Port] Inform LUS of audio setting change
SetAudioChannels(audioStereo);
break;
case 3:
sp1F = 0;
D_80130604 = 2;
// SOH [Port] Inform LUS of audio setting change
SetAudioChannels(audioMatrix51);
break;
}