diff options
| author | John Wilbert M. Villamor <lameguy64@gmail.com> | 2021-07-01 08:45:46 +0800 |
|---|---|---|
| committer | John Wilbert M. Villamor <lameguy64@gmail.com> | 2021-07-01 08:45:46 +0800 |
| commit | 01fe30bd8bae59ab954751b08bcc1d158eff7edb (patch) | |
| tree | aa83e37f4e59207ec41b3d47796875755462c63f /examples/demos/n00bdemo/smd.h | |
| parent | da79082d2c5e0dcbc899a359f6f49ec8cca90d66 (diff) | |
| download | psn00bsdk-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.h | 4 |
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); |
