JAISoundTable almost

This commit is contained in:
LagoLunatic
2024-07-01 18:13:55 -04:00
parent 3bf97d3c71
commit 1e37c6cd2d
2 changed files with 24 additions and 10 deletions
+14 -2
View File
@@ -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;
}
}