mirror of
https://github.com/zeldaret/tp
synced 2026-07-07 14:13:27 -04:00
Merge branch 'master' of https://github.com/zeldaret/tp into work7
This commit is contained in:
@@ -10,8 +10,8 @@ extern "C" {
|
||||
|
||||
void GXSetDispCopySrc(u16 left, u16 top, u16 width, u16 height);
|
||||
void GXSetTexCopySrc(u16 left, u16 top, u16 width, u16 height);
|
||||
void GXSetDispCopyDst(u16 width, u16 height);
|
||||
void GXSetTexCopyDst(u16 width, u16 height, GXTexFmt fmt, GXBool mipmap);
|
||||
void GXSetDispCopyDst(u16 arg0, u16 arg1);
|
||||
void GXSetTexCopyDst(u16 width, u16 height, s32 fmt, GXBool mipmap);
|
||||
void GXSetDispCopyFrame2Field(GXCopyMode mode);
|
||||
void GXSetCopyClamp(GXFBClamp clamp);
|
||||
u16 GXGetNumXfbLines(u32 efb_height, f32 y_scale);
|
||||
|
||||
@@ -87,7 +87,7 @@ typedef struct _GXData {
|
||||
|
||||
STATIC_ASSERT(sizeof(GXData) == 0x5B0);
|
||||
|
||||
extern GXData* __GXData;
|
||||
extern GXData* const __GXData;
|
||||
|
||||
extern u32* __piReg;
|
||||
extern u16* __cpReg;
|
||||
@@ -100,6 +100,11 @@ inline void GXSetWasteFlags() {
|
||||
data->field_0x2 = 0;
|
||||
}
|
||||
|
||||
static inline void set_x2(u16 value)
|
||||
{
|
||||
__GXData->field_0x2 = value;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@@ -10,7 +10,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
u32 GXGetTexBufferSize(u16 width, u16 height, u32 format, GXBool mipmap, u8 max_lod);
|
||||
void __GetImageTileCount();
|
||||
void __GetImageTileCount(u32 arg0, s16 arg1, s16 arg2, s32* arg3, s32* arg4, s32* arg5);
|
||||
void GXInitTexObj(GXTexObj* obj, void* image, u16 width, u16 height, GXTexFmt fmt,
|
||||
GXTexWrapMode wrapS, GXTexWrapMode wrapT, GXBool mipmap);
|
||||
void GXInitTexObjCI(GXTexObj* obj, void* image, u16 width, u16 height, GXCITexFmt format,
|
||||
|
||||
Reference in New Issue
Block a user