Files
oot-gc/include/emulator/THPFile.h
Yanis 622a80cfbb Match most of the THP library (#81)
* match THPPlayer

* match THPAudioDecode

* match THPDraw

* match THPVideoDecode

* format

* move at_address to macros

* cleanup __start.h

* match thpread (kinda)

* format

* cleanup

* delete useless files

* makefile improvements

* update objdiff.json

* review

* remove DOLPHIN_CFLAGS & EMULATOR_CFLAGS
2024-04-29 13:58:58 -07:00

22 lines
538 B
C

#ifndef _THPFILE_H
#define _THPFILE_H
#include "dolphin/types.h"
typedef struct THPHeader {
/* 0x00 */ char magic[4];
/* 0x04 */ u32 version;
/* 0x08 */ u32 bufSize;
/* 0x0C */ u32 audioMaxSamples;
/* 0x10 */ f32 frameRate;
/* 0x14 */ u32 numFrames;
/* 0x18 */ u32 firstFrameSize;
/* 0x1C */ u32 movieDataSize;
/* 0x20 */ u32 compInfoDataOffsets;
/* 0x24 */ u32 offsetDataOffsets;
/* 0x28 */ u32 movieDataOffsets;
/* 0x2C */ u32 finalFrameDataOffsets;
} THPHeader; // size = 0x30
#endif