File tree Expand file tree Collapse file tree
src/OpenSHC/Audio/mss/SoundSystem Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #include " OpenSHC/Audio/MSS/SoundSystem.func.hpp"
2+
3+ #include < iostream>
4+
5+ namespace OpenSHC {
6+ namespace Audio {
7+ namespace MSS {
8+
9+ // FUNCTION: STRONGHOLDCRUSADER 0x00479F30
10+ void SoundSystem::deactivateSoundFromMenuFuncUnk ()
11+ {
12+ if (!this ->waveOutOpenUnk_0x8 ) {
13+ return ;
14+ }
15+
16+ for (int i = 0 ; i < 5 ; ++i) {
17+ unsigned int const copy = *((unsigned int *)&this ->streamFlagsUnkAndLoopCount_0x34 [i]) & 0x7fffffff ;
18+ this ->streamFlagsUnkAndLoopCount_0x34 [i] = *((UnkSoundFlagsAndLoopCount*)©);
19+ MACRO_CALL_MEMBER (SoundSystem_Func::endSoundStream, this )(i);
20+ }
21+
22+ int * piVar1 = this ->sampleSoundIndex_0x20c + 1 ;
23+ unsigned int iVar3 = 32 ;
24+ do {
25+ AIL_end_sample ((HSAMPLE)piVar1[-0x20 ]);
26+ *piVar1 = 0 ;
27+ piVar1 = piVar1 + 1 ;
28+ iVar3 = iVar3 + -1 ;
29+ } while (iVar3 != 1 );
30+
31+ for (int i = 1 ; i < this ->loadedSoundsCountAndIndex_0x316c ; ++i) {
32+ this ->soundFileCurrSampleNum_0x28c [i] = -1 ;
33+ }
34+ this ->soundActiveUnk_0x0 = 0 ;
35+ }
36+
37+ }
38+ }
39+ }
Original file line number Diff line number Diff line change @@ -10891,7 +10891,7 @@ SHC_3BB0A8C1_0x00479CF0 | 100.0% | Reimplemented
1089110891SHC_3BB0A8C1_0x00479D90 | 100.0% | Reimplemented
1089210892SHC_3BB0A8C1_0x00479DF0 | 0.0% | Pending
1089310893SHC_3BB0A8C1_0x00479E60 | 100.0% | Reimplemented
10894- SHC_3BB0A8C1_0x00479F30 | 0 .0% | Pending
10894+ SHC_3BB0A8C1_0x00479F30 | 100 .0% | Reimplemented
1089510895SHC_3BB0A8C1_0x00479FC0 | 0.0% | Pending
1089610896SHC_3BB0A8C1_0x0047A080 | 0.0% | Pending
1089710897SHC_3BB0A8C1_0x0047A130 | 0.0% | Pending
You can’t perform that action at this time.
0 commit comments