PCTex_UnbufferPVR

This commit is contained in:
krystalgamer 2024-08-19 11:43:07 +01:00
parent fcf1320108
commit 6c0bc36fa0
3 changed files with 14 additions and 5 deletions

View File

@ -186,10 +186,11 @@ void PCTex_TextureHasAlpha(i32)
printf("PCTex_TextureHasAlpha(i32)");
}
// @SMALLTODO
void PCTex_UnbufferPVR(PVRHeader *)
// @Ok
// @Matching
void PCTex_UnbufferPVR(PVRHeader* pPvrHeader)
{
printf("PCTex_UnbufferPVR(PVRHeader *)");
Mem_Delete(pPvrHeader);
}
// @SMALLTODO
@ -328,3 +329,7 @@ void validate_WeirdTextureHolder(void)
VALIDATE(WeirdTextureHolder, flags, 0xC);
VALIDATE(WeirdTextureHolder, split, 0x10);
}
void validate_PVRHeader(void)
{
}

View File

@ -9,12 +9,14 @@
// @FIXME
#define _ClutPC i32
// @FIXME
#define PVRHeader i32
// @FIXME
#define PCTexture i32
// @FIXME
#define _DDPIXELFORMAT i32
struct PVRHeader
{
};
struct WeirdTextureHolder
{
Bitmap256* texture;
@ -71,5 +73,6 @@ EXPORT void releaseClutPc(_ClutPC *);
EXPORT void shouldForceBlend(u16 *,i32,i32,i32);
void validate_WeirdTextureHolder(void);
void validate_PVRHeader(void);
#endif

View File

@ -411,6 +411,7 @@ i32 validate(void)
validate_PKR_DIRINFO();
validate_LIBPKR_HANDLE();
validate_NODE_DIRINFO();
validate_PVRHeader();
puts("[*] Validation done!");