diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-11-21 00:17:51 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-20 21:17:51 -0800 |
| commit | 91011befd7f834db307ab4b35d7937b470c9f333 (patch) | |
| tree | 06e1449d6d3212c962efe4f6dfe8d9ad623b7ca4 /src/Z2AudioLib | |
| parent | 6f7457a870a3a9840ade3bccc21814beafdd8b8a (diff) | |
Remove fake matches, fix false equivalencies, and other small matches (#2837)
* Debug matches and remove fake matches
* Fix false equivalencies, regallocs, and vtable orders
* Fix PAL splits
Diffstat (limited to 'src/Z2AudioLib')
| -rw-r--r-- | src/Z2AudioLib/Z2SoundObject.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Z2AudioLib/Z2SoundObject.cpp b/src/Z2AudioLib/Z2SoundObject.cpp index 839b7730b6..e4422c37e5 100644 --- a/src/Z2AudioLib/Z2SoundObject.cpp +++ b/src/Z2AudioLib/Z2SoundObject.cpp @@ -422,7 +422,7 @@ void Z2SoundObjAnime::updateSoundLifeTime_(f32 param_0, f32 param_1) { switch (getHandle(i)->getSound()->getAnimationState()) { case 0: break; - case 1: + case 1: { JAUSoundAnimationSound* sound = (JAUSoundAnimationSound*)getHandle(i)->getSound()->getUserData(); bool bvar1 = param_1 == 0.0f && sound->stopsWhenSpeedIsZero(); @@ -446,6 +446,7 @@ void Z2SoundObjAnime::updateSoundLifeTime_(f32 param_0, f32 param_1) { } } break; + } case 2: break; } |
