aboutsummaryrefslogtreecommitdiff
path: root/examples/demos/n00bdemo/smd.h
diff options
context:
space:
mode:
authorJohn Wilbert M. Villamor <lameguy64@gmail.com>2021-07-01 08:45:46 +0800
committerJohn Wilbert M. Villamor <lameguy64@gmail.com>2021-07-01 08:45:46 +0800
commit01fe30bd8bae59ab954751b08bcc1d158eff7edb (patch)
treeaa83e37f4e59207ec41b3d47796875755462c63f /examples/demos/n00bdemo/smd.h
parentda79082d2c5e0dcbc899a359f6f49ec8cca90d66 (diff)
downloadpsn00bsdk-01fe30bd8bae59ab954751b08bcc1d158eff7edb.tar.gz
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.
Diffstat (limited to 'examples/demos/n00bdemo/smd.h')
-rw-r--r--examples/demos/n00bdemo/smd.h4
1 files changed, 2 insertions, 2 deletions
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);