mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-21 22:10:59 -04:00
JAISoundTable almost
This commit is contained in:
@@ -3,10 +3,22 @@
|
||||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
struct SoundInfo {
|
||||
/* 0x00 */ u32 mFlag;
|
||||
/* 0x04 */ u8 mPriority;
|
||||
/* 0x05 */ u8 _05;
|
||||
/* 0x06 */ u16 mOffsetNo;
|
||||
/* 0x08 */ u32 mPitch;
|
||||
/* 0x0C */ union Volume {
|
||||
u32 typeView;
|
||||
u8 byteView[4];
|
||||
} mVolume;
|
||||
};
|
||||
|
||||
namespace JAInter {
|
||||
namespace SoundTable {
|
||||
void init(u8*, u32);
|
||||
u8* getInfoPointer(u32);
|
||||
SoundInfo* getInfoPointer(u32);
|
||||
u8 getInfoFormat(u32);
|
||||
u8 getCategotyMax();
|
||||
|
||||
@@ -14,7 +26,7 @@ namespace JAInter {
|
||||
extern u8 mCategotyMax;
|
||||
extern u16* mSoundMax;
|
||||
extern u32 mDatasize;
|
||||
extern u8** mPointerCategory;
|
||||
extern SoundInfo** mPointerCategory;
|
||||
extern u8* mAddress;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user