aboutsummaryrefslogtreecommitdiff
path: root/examples/system/childexec/child
diff options
context:
space:
mode:
authorspicyjpeg <thatspicyjpeg@gmail.com>2022-08-12 11:27:55 +0200
committerspicyjpeg <thatspicyjpeg@gmail.com>2022-08-12 11:27:55 +0200
commitedb967394d22420c9aaad529862a670c016cc2c7 (patch)
treea18b6062eedda22d2c1aabb852d2c633199cce2c /examples/system/childexec/child
parent7abb3b78727c8d4672197951e62b1c5916b3a54a (diff)
downloadpsn00bsdk-edb967394d22420c9aaad529862a670c016cc2c7.tar.gz
Replace ball16c.h headers in examples with .TIM files
Diffstat (limited to 'examples/system/childexec/child')
-rw-r--r--examples/system/childexec/child/child.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/system/childexec/child/child.c b/examples/system/childexec/child/child.c
index 2ddfa73..bd17440 100644
--- a/examples/system/childexec/child/child.c
+++ b/examples/system/childexec/child/child.c
@@ -1,4 +1,4 @@
-#include <sys/types.h>
+#include <stdint.h>
#include <stdio.h>
#include <psxapi.h>
#include <psxgpu.h>
@@ -21,10 +21,10 @@
/* Double buffer structure */
typedef struct {
- DISPENV disp; /* Display environment */
- DRAWENV draw; /* Drawing environment */
- u_long ot[OT_LEN]; /* Ordering table */
- char p[PACKET_LEN]; /* Packet buffer */
+ DISPENV disp; /* Display environment */
+ DRAWENV draw; /* Drawing environment */
+ uint32_t ot[OT_LEN]; /* Ordering table */
+ char p[PACKET_LEN]; /* Packet buffer */
} DB;
/* Double buffer variables */