Import SDK Types
This commit is contained in:
parent
84b3e69630
commit
4fe4c38e0d
86 changed files with 6528 additions and 27 deletions
36
include/dolphin/thp/THPBuffer.h
Normal file
36
include/dolphin/thp/THPBuffer.h
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
#ifndef _THP_THPBUFFER_H
|
||||
#define _THP_THPBUFFER_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// Size 0x10
|
||||
typedef struct THPTextureSet {
|
||||
u8* mYTexture; // _00
|
||||
u8* mUTexture; // _04
|
||||
u8* mVTexture; // _08
|
||||
s32 mFrameNumber; // _0C
|
||||
} THPTextureSet;
|
||||
|
||||
// Size 0xC
|
||||
typedef struct THPAudioBuffer {
|
||||
s16* mBuffer; // _00
|
||||
s16* mCurPtr; // _04
|
||||
u32 mValidSample; // _08
|
||||
} THPAudioBuffer;
|
||||
|
||||
// Size 0xC
|
||||
typedef struct THPReadBuffer {
|
||||
u8* mPtr; // _00
|
||||
s32 mFrameNumber; // _04
|
||||
BOOL mIsValid; // _08
|
||||
} THPReadBuffer;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue