mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
Tidy up headers
This commit is contained in:
parent
ac9a86d7ce
commit
53a4effd57
@ -176,8 +176,8 @@ typedef struct linkManagerTag
|
||||
/* 0x024 */ VBL_TIMER nameAcceptTimer;
|
||||
/* 0x030 */ VBL_TIMER linkRecoveryTimer;
|
||||
/* 0x03c */ INIT_PARAM *init_param;
|
||||
/* 0x040 */ void (*LMAN_callback)(u8, u8);
|
||||
/* 0x044 */ void (*MSC_callback)(u16);
|
||||
/* 0x040 */ void (*LMAN_callback)(u8 msg, u8 paramCount);
|
||||
/* 0x044 */ void (*MSC_callback)(u16 REQ_commandID);
|
||||
} LINK_MANAGER;
|
||||
|
||||
extern struct linkManagerTag lman;
|
||||
|
@ -317,9 +317,9 @@ struct SoundInfo
|
||||
u8 pcmDmaPeriod; // number of V-blanks per PCM DMA
|
||||
u8 maxLines;
|
||||
u8 gap[3];
|
||||
s32 pcmSamplesPerVBlank;
|
||||
s32 pcmFreq;
|
||||
s32 divFreq;
|
||||
u32 pcmSamplesPerVBlank;
|
||||
u32 pcmFreq;
|
||||
u32 divFreq;
|
||||
struct CgbChannel *cgbChans;
|
||||
void (*func)();
|
||||
u32 intp;
|
||||
|
@ -407,6 +407,7 @@ struct RfuTgtData
|
||||
u16 serialNo; // Game serial number of parent candidate Game serial number of connection partner
|
||||
u8 gname[RFU_GAME_NAME_LENGTH + 2]; // Game name of parent candidate Game name of connection partner
|
||||
u8 uname[RFU_USER_NAME_LENGTH + 1]; // User name for parent candidate User name for connection partner
|
||||
u8 padding[2];
|
||||
};
|
||||
|
||||
struct RfuLinkStatus
|
||||
|
10
src/m4a_1.s
10
src/m4a_1.s
@ -1392,10 +1392,10 @@ _081DD9F6:
|
||||
bl ChnVolSetAsm
|
||||
cmp r6, 0
|
||||
beq _081DDA14
|
||||
ldrb r0, [r4, o_CgbChannel_mo]
|
||||
ldrb r0, [r4, #o_CgbChannel_mo]
|
||||
movs r1, 0x1
|
||||
orrs r0, r1
|
||||
strb r0, [r4, o_CgbChannel_mo]
|
||||
strb r0, [r4, #o_CgbChannel_mo]
|
||||
_081DDA14:
|
||||
ldrb r3, [r5, #o_MusicPlayerTrack_flags]
|
||||
movs r0, 0xC
|
||||
@ -1416,11 +1416,11 @@ _081DDA28:
|
||||
ldrb r2, [r5, #o_MusicPlayerTrack_pitM]
|
||||
adds r0, r6, 0
|
||||
bl call_r3
|
||||
str r0, [r4, o_CgbChannel_fr]
|
||||
ldrb r0, [r4, o_CgbChannel_mo]
|
||||
str r0, [r4, #o_CgbChannel_fr]
|
||||
ldrb r0, [r4, #o_CgbChannel_mo]
|
||||
movs r1, 0x2
|
||||
orrs r0, r1
|
||||
strb r0, [r4, o_CgbChannel_mo]
|
||||
strb r0, [r4, #o_CgbChannel_mo]
|
||||
b _081DDA52
|
||||
_081DDA46:
|
||||
adds r1, r2, 0
|
||||
|
Loading…
Reference in New Issue
Block a user