Moved symbols in unknown_003260 to header file.

This commit is contained in:
Antonio Castelli
2021-05-30 23:24:41 -07:00
parent 15d15f53b5
commit d962603b94
3 changed files with 50 additions and 35 deletions
+48
View File
@@ -0,0 +1,48 @@
#ifndef _UNKNOWN_003260_H_
#define _UNKNOWN_003260_H_
#include "types.h"
#include "audio_internal.h"
typedef struct unk800DC6BC_40 {
ALLink node;
u8 pad0C[0x38];
} unk800DC6BC_40; //ALSoundState
/* Unknown Size */
typedef struct unk800DC6BC {
ALPlayer node;
ALEventQueue evtq;
ALEvent nextEvent;
ALSynth *drvr;
u32 unk3C;
unk800DC6BC_40 *unk40;
s32 unk44;
s32 unk48;
s32 frameTime;
ALMicroTime nextDelta;
ALMicroTime curTime;
} unk800DC6BC; //ALSndPlayer
extern s32 D_800DC680;
extern s32 D_800DC684;
extern s32 D_800DC688;
extern s32 D_800DC68C;
extern s32 D_800DC690;
extern s32 D_800DC694;
extern s32 D_800DC698;
extern s32 D_800DC69C;
extern s32 D_800DC6A0;
extern s32 D_800DC6A4;
extern s32 D_800DC6A8;
extern s32 D_800DC6AC;
extern s32 D_800DC6B0;
extern s32 D_800DC6B4;
extern unk800DC6BC_40* D_800DC6B8;
extern unk800DC6BC* gAlSndPlayer;
extern s32 sfxVolumeSlider;
extern s32 D_800DC6C4;
#endif
+2 -20
View File
@@ -1,6 +1,8 @@
/* The comment below is needed for this file to be picked up by generate_ld */
/* RAM_POS: 0x80002660 */
#include "unknown_003260.h"
#include "types.h"
#include "macros.h"
#include "audio_internal.h"
@@ -19,11 +21,6 @@
extern void func_80002A98(void*);
extern u32 D_80003008;
typedef struct unk800DC6BC_40 {
ALLink node;
u8 pad0C[0x38];
} unk800DC6BC_40; //ALSoundState
typedef union {
ALEvent msg;
@@ -35,21 +32,6 @@ typedef union {
}ALSndpEvent;
/* Unknown Size */
typedef struct unk800DC6BC {
ALPlayer node;
ALEventQueue evtq;
ALEvent nextEvent;
ALSynth *drvr;
u32 unk3C;
unk800DC6BC_40 *unk40;
s32 unk44;
s32 unk48;
s32 frameTime;
ALMicroTime nextDelta;
ALMicroTime curTime;
} unk800DC6BC; //ALSndPlayer
typedef struct unk80119240
{
ALLink node;
-15
View File
@@ -67,21 +67,6 @@ D_800D84C0 = 0x800D84C0;
D_800D8590 = 0x800D8590;
D_800D9790 = 0x800D9790;
D_800DA970 = 0x800DA970;
D_800DC680 = 0x800DC680;
D_800DC684 = 0x800DC684;
D_800DC688 = 0x800DC688;
D_800DC68C = 0x800DC68C;
D_800DC690 = 0x800DC690;
D_800DC694 = 0x800DC694;
D_800DC698 = 0x800DC698;
D_800DC69C = 0x800DC69C;
D_800DC6A0 = 0x800DC6A0;
D_800DC6B0 = 0x800DC6B0;
D_800DC6B4 = 0x800DC6B4;
D_800DC6B8 = 0x800DC6B8;
gAlSndPlayer = 0x800DC6BC;
sfxVolumeSlider = 0x800DC6C0;
D_800DC6C4 = 0x800DC6C4;
D_800DC6D0 = 0x800DC6D0;
D_800DC6D4 = 0x800DC6D4;
D_800DC6D8 = 0x800DC6D8;