func_80244190() match
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# banjo (97.7919%)
|
# banjo (97.8170%)
|
||||||
|
|
||||||
<img src="./progress/progress_total.svg">
|
<img src="./progress/progress_total.svg">
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
</mask>
|
</mask>
|
||||||
<g mask="url(#anybadge_1)">
|
<g mask="url(#anybadge_1)">
|
||||||
<path fill="#555" d="M0 0h44v20H0z"/>
|
<path fill="#555" d="M0 0h44v20H0z"/>
|
||||||
<path fill="#0ee000" d="M44 0h67v20H44z"/>
|
<path fill="#0de000" d="M44 0h67v20H44z"/>
|
||||||
<path fill="url(#b)" d="M0 0h111v20H0z"/>
|
<path fill="url(#b)" d="M0 0h111v20H0z"/>
|
||||||
</g>
|
</g>
|
||||||
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
<text x="22.0" y="14">core1</text>
|
<text x="22.0" y="14">core1</text>
|
||||||
</g>
|
</g>
|
||||||
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
||||||
<text x="78.5" y="15" fill="#010101" fill-opacity=".3">96.8520%</text>
|
<text x="78.5" y="15" fill="#010101" fill-opacity=".3">97.0254%</text>
|
||||||
<text x="77.5" y="14">96.8520%</text>
|
<text x="77.5" y="14">97.0254%</text>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
@@ -17,7 +17,7 @@
|
|||||||
<text x="75.0" y="14">Banjo-Kazooie (us.v10)</text>
|
<text x="75.0" y="14">Banjo-Kazooie (us.v10)</text>
|
||||||
</g>
|
</g>
|
||||||
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
||||||
<text x="184.5" y="15" fill="#010101" fill-opacity=".3">97.7919%</text>
|
<text x="184.5" y="15" fill="#010101" fill-opacity=".3">97.8170%</text>
|
||||||
<text x="183.5" y="14">97.7919%</text>
|
<text x="183.5" y="14">97.8170%</text>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
@@ -10,14 +10,14 @@ void func_80244050(ALEventQueue *arg0, N_AL_Struct81s *arg1, u16 arg2);
|
|||||||
|
|
||||||
|
|
||||||
void func_8024324C(N_ALSndPlayer *arg0);
|
void func_8024324C(N_ALSndPlayer *arg0);
|
||||||
|
void func_80244190(N_AL_Struct81s *arg0);
|
||||||
|
|
||||||
// extern ALEventUnknown;
|
// extern ALEventUnknown;
|
||||||
/* .bss */
|
/* .bss */
|
||||||
N_ALSndPlayer D_8027EEC0;
|
N_ALSndPlayer D_8027EEC0;
|
||||||
u16 *D_8027EF14;
|
u16 *D_8027EF14;
|
||||||
extern struct {
|
extern struct {
|
||||||
u8 pad0[4];
|
s32 volume[4];
|
||||||
s32 volume[3];
|
|
||||||
}D_8027EF18;
|
}D_8027EF18;
|
||||||
|
|
||||||
/* .data */
|
/* .data */
|
||||||
@@ -156,11 +156,8 @@ s32 func_80244110(u16 *arg0, u16 *arg1) {
|
|||||||
return var_v1;
|
return var_v1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void func_80244190(N_AL_Struct81s *arg0)
|
||||||
#ifndef NONMATCHING
|
{
|
||||||
#pragma GLOBAL_ASM("asm/nonmatchings/core1/code_5650/func_80244190.s")
|
|
||||||
#else
|
|
||||||
void func_80244190(N_AL_Struct81s *arg0) {
|
|
||||||
ALMicroTime *temp_a1;
|
ALMicroTime *temp_a1;
|
||||||
s32 prev_volume;
|
s32 prev_volume;
|
||||||
s32 temp_t1;
|
s32 temp_t1;
|
||||||
@@ -172,32 +169,33 @@ void func_80244190(N_AL_Struct81s *arg0) {
|
|||||||
ALEnvelope *envelope;
|
ALEnvelope *envelope;
|
||||||
N_AL_Struct81s *var_v0;
|
N_AL_Struct81s *var_v0;
|
||||||
N_AL_Struct81s *var_v1;
|
N_AL_Struct81s *var_v1;
|
||||||
|
for (var_v0 = D_802758C0.unk0; var_v0 != 0; var_v0 = (N_AL_Struct81s *) var_v0->node.next)
|
||||||
for(var_v0 = D_802758C0.unk0; var_v0 != NULL; var_v0 = (N_AL_Struct81s *)var_v0->node.next){
|
{
|
||||||
var_v1 = var_v0;
|
var_v1 = var_v0;
|
||||||
envelope = var_v0->unk8->envelope;
|
envelope = var_v1->unk8->envelope;
|
||||||
temp_a1 = &envelope->attackTime;
|
temp_a1 = &envelope->attackTime;
|
||||||
D_8027EF18.volume[AL_PHASE_ATTACK] = (s32) envelope->attackVolume;
|
D_8027EF18.volume[1] = (s32) envelope->attackVolume;
|
||||||
D_8027EF18.volume[AL_PHASE_DECAY] = (s32) envelope->decayVolume;
|
D_8027EF18.volume[2] = (s32) envelope->decayVolume ;
|
||||||
while( var_v0->envPhase < AL_PHASE_RELEASE
|
while (((var_v1->envPhase < 3) && (var_v1->unk48 >= temp_a1[var_v1->envPhase])) && (temp_a1[var_v1->envPhase] != (-1)))
|
||||||
&& var_v0->unk48 >= temp_a1[var_v0->envPhase]
|
{
|
||||||
&& temp_a1[var_v0->envPhase] != -1
|
var_v1->unk48 -= temp_a1[var_v1->envPhase];
|
||||||
){
|
var_v1->envPhase++;
|
||||||
var_v0->unk48 -= temp_a1[var_v0->envPhase];
|
|
||||||
var_v0->envPhase++;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (var_v0->envPhase < AL_PHASE_RELEASE) {
|
if (var_v1->envPhase < 3){
|
||||||
if (temp_a1[var_v1->envPhase] != -1) {
|
if (temp_a1[var_v1->envPhase] != (-1)) {
|
||||||
var_v0->unk44 = D_8027EF18.volume[var_v0->envPhase - 1] + ((s32) ((D_8027EF18.volume[var_v0->envPhase] - D_8027EF18.volume[var_v0->envPhase - 1]) * var_v0->unk48) / temp_a1[var_v0->envPhase]);
|
var_v1->unk44 = D_8027EF18.volume[var_v1->envPhase]
|
||||||
|
+ (D_8027EF18.volume[var_v1->envPhase + 1] - D_8027EF18.volume[var_v1->envPhase])
|
||||||
|
* var_v0->unk48
|
||||||
|
/ temp_a1[var_v1->envPhase];
|
||||||
} else {
|
} else {
|
||||||
var_v0->unk44 = D_8027EF18.volume[var_v0->envPhase - 1]; //
|
var_v0->unk44 = D_8027EF18.volume[var_v1->envPhase];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var_v0->unk48 += arg0->unk48;
|
|
||||||
|
var_v1->unk48 += arg0->unk48;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
N_AL_Struct81s *func_8024431C(ALBank *bank, ALSound *sound) {
|
N_AL_Struct81s *func_8024431C(ALBank *bank, ALSound *sound) {
|
||||||
s32 sp24;
|
s32 sp24;
|
||||||
|
Reference in New Issue
Block a user