Decompile func000337c8
This commit is contained in:
parent
80de3d4209
commit
c8450efc78
|
|
@ -2143,7 +2143,10 @@ struct sndstate {
|
|||
/*0x34*/ u32 unk34;
|
||||
/*0x38*/ u32 unk38;
|
||||
/*0x3c*/ u32 unk3c;
|
||||
/*0x40*/ u32 unk40;
|
||||
/*0x40*/ u8 unk40;
|
||||
/*0x41*/ u8 unk41;
|
||||
/*0x42*/ u8 unk42;
|
||||
/*0x43*/ u8 unk43;
|
||||
/*0x44*/ u8 flags;
|
||||
/*0x45*/ u8 playing;
|
||||
#if VERSION >= VERSION_NTSC_1_0
|
||||
|
|
|
|||
|
|
@ -3347,20 +3347,12 @@ void sndpFreeState(struct sndstate *state)
|
|||
}
|
||||
}
|
||||
|
||||
GLOBAL_ASM(
|
||||
glabel func000337c8
|
||||
/* 337c8: 30a500ff */ andi $a1,$a1,0xff
|
||||
/* 337cc: 10800004 */ beqz $a0,.L000337e0
|
||||
/* 337d0: 00000000 */ nop
|
||||
/* 337d4: 00057400 */ sll $t6,$a1,0x10
|
||||
/* 337d8: 000e7c03 */ sra $t7,$t6,0x10
|
||||
/* 337dc: a08f0040 */ sb $t7,0x40($a0)
|
||||
.L000337e0:
|
||||
/* 337e0: 03e00008 */ jr $ra
|
||||
/* 337e4: 00000000 */ nop
|
||||
/* 337e8: 03e00008 */ jr $ra
|
||||
/* 337ec: 00000000 */ nop
|
||||
);
|
||||
void func000337c8(struct sndstate *state, u8 arg1)
|
||||
{
|
||||
if (state) {
|
||||
state->unk40 = (s16)arg1;
|
||||
}
|
||||
}
|
||||
|
||||
bool audioIsPlaying(struct sndstate *state)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue