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/system/childexec/child.c | |
| 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/system/childexec/child.c')
| -rw-r--r-- | examples/system/childexec/child.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/system/childexec/child.c b/examples/system/childexec/child.c index 2ed656b..2ddfa73 100644 --- a/examples/system/childexec/child.c +++ b/examples/system/childexec/child.c @@ -1,3 +1,4 @@ +#include <sys/types.h> #include <stdio.h> #include <psxapi.h> #include <psxgpu.h> @@ -22,7 +23,7 @@ typedef struct { DISPENV disp; /* Display environment */ DRAWENV draw; /* Drawing environment */ - int ot[OT_LEN]; /* Ordering table */ + u_long ot[OT_LEN]; /* Ordering table */ char p[PACKET_LEN]; /* Packet buffer */ } DB; |
