summaryrefslogtreecommitdiff
path: root/soh/src/code/code_800E4FE0.c
diff options
context:
space:
mode:
authorlouist103 <35883445+louist103@users.noreply.github.com>2025-06-28 00:15:02 +0000
committerGitHub <noreply@github.com>2025-06-27 17:15:02 -0700
commite15f8d395b316c79bbe55af5cbdb483231785f98 (patch)
tree101568867ec2328657cb4339dd869fb3035bba23 /soh/src/code/code_800E4FE0.c
parent9e686ae6f6156919d3e52dc43870dd61265c37ba (diff)
Backport 2ship streamed audio (#5457)
* Bring over changes from 2ship # Conflicts: # .github/workflows/apt-deps.txt # soh/CMakeLists.txt # soh/soh/resource/importer/AudioSampleFactory.h # soh/soh/resource/importer/AudioSequenceFactory.cpp # soh/soh/resource/importer/AudioSequenceFactory.h # soh/soh/resource/importer/AudioSoundFontFactory.h * Update xml format * Format and fix mixer for Windows * Fixes for new LUS * Good ole clang-format
Diffstat (limited to 'soh/src/code/code_800E4FE0.c')
-rw-r--r--soh/src/code/code_800E4FE0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/src/code/code_800E4FE0.c b/soh/src/code/code_800E4FE0.c
index a608b5234..440fb05a6 100644
--- a/soh/src/code/code_800E4FE0.c
+++ b/soh/src/code/code_800E4FE0.c
@@ -792,7 +792,7 @@ s32 func_800E6590(s32 playerIdx, s32 arg1, s32 arg2) {
if (sound == NULL) {
return 0;
}
- loopEnd = sound->sample->loop->end;
+ loopEnd = sound->sample->loop->loopEnd;
samplePos = note->synthesisState.samplePosInt;
return loopEnd - samplePos;
}