Turn song text into a notification (#5712)

This commit is contained in:
Pepe20129
2025-08-13 04:56:52 +02:00
committed by GitHub
parent 6d4c6f8ea6
commit 3e39a94083
6 changed files with 12 additions and 16 deletions

View File

@@ -640,10 +640,8 @@ s32 AudioLoad_SyncInitSeqPlayerInternal(s32 playerIdx, s32 seqId, s32 arg2) {
if (gPlayState != NULL) {
previousSceneNum = gPlayState->sceneNum;
}
const char* sequenceName = AudioCollection_GetSequenceName(seqId);
if (sequenceName != NULL) {
Overlay_DisplayText_Seconds(CVarGetInteger(CVAR_AUDIO("SeqNameOverlayDuration"), 5), sequenceName);
}
AudioCollection_EmitSongNameNotification(seqId);
}
}