From 01fe30bd8bae59ab954751b08bcc1d158eff7edb Mon Sep 17 00:00:00 2001 From: "John Wilbert M. Villamor" Date: Thu, 1 Jul 2021 08:45:46 +0800 Subject: Added int*_t and uint*_t variable types and updated type definitions in psxgpu and psxcd, to improve compatibility with code written for the official SDK. --- examples/demos/n00bdemo/smd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/demos/n00bdemo/smd.h') diff --git a/examples/demos/n00bdemo/smd.h b/examples/demos/n00bdemo/smd.h index 29c2812..4306534 100644 --- a/examples/demos/n00bdemo/smd.h +++ b/examples/demos/n00bdemo/smd.h @@ -2,7 +2,7 @@ #define _SMD_H typedef struct { - int *ot; + u_long *ot; short otlen; unsigned char zdiv,zoff; } SC_OT; @@ -59,7 +59,7 @@ SMD *smdInitData(void *data); void smdSetBaseTPage(unsigned short tpage); char *smdSortModel(SC_OT *ot, char* pribuff, SMD *smd); -char *smdSortModelFlat(unsigned int *ot, char* pribuff, SMD *smd); +char *smdSortModelFlat(u_long *ot, char* pribuff, SMD *smd); void smdSetCelTex(unsigned short tpage, unsigned short clut); void smdSetCelParam(int udiv, int vdiv, unsigned int col); -- cgit v1.2.3