summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
authorbriaguya <70942617+briaguya-ai@users.noreply.github.com>2024-04-22 22:57:33 -0400
committerGitHub <noreply@github.com>2024-04-22 22:57:33 -0400
commit3070fb474612362aa8ee49d0f7bcd60316184d21 (patch)
treebccd73df750e6e0b4a22bd8bed9b8b1942f6bfa6 /soh/src/code
parent49f891f2e53b3a66a49df8deb8c2889edc366db0 (diff)
support lus gameoverlay changes (and bump LUS) (#4067)
Diffstat (limited to 'soh/src/code')
-rw-r--r--soh/src/code/audio_load.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/soh/src/code/audio_load.c b/soh/src/code/audio_load.c
index 914366f91..cb7ba60bb 100644
--- a/soh/src/code/audio_load.c
+++ b/soh/src/code/audio_load.c
@@ -632,7 +632,7 @@ s32 AudioLoad_SyncInitSeqPlayerInternal(s32 playerIdx, s32 seqId, s32 arg2) {
// Keep track of the previous sequence/scene so we don't repeat notifications
static uint16_t previousSeqId = UINT16_MAX;
static int16_t previousSceneNum = INT16_MAX;
- if (CVarGetInteger("gSeqNameOverlay", 0) &&
+ if (CVarGetInteger(CVAR_AUDIO("SeqNameOverlay"), 0) &&
playerIdx == SEQ_PLAYER_BGM_MAIN &&
(seqId != previousSeqId || (gPlayState != NULL && gPlayState->sceneNum != previousSceneNum))) {
@@ -642,7 +642,7 @@ s32 AudioLoad_SyncInitSeqPlayerInternal(s32 playerIdx, s32 seqId, s32 arg2) {
}
const char* sequenceName = AudioCollection_GetSequenceName(seqId);
if (sequenceName != NULL) {
- Overlay_DisplayText_Seconds(CVarGetInteger("gSeqNameOverlayDuration", 5), sequenceName);
+ Overlay_DisplayText_Seconds(CVarGetInteger(CVAR_AUDIO("SeqNameOverlayDuration"), 5), sequenceName);
}
}
}