aboutsummaryrefslogtreecommitdiff
path: root/examples/demos/n00bdemo/disp.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/disp.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/disp.h')
-rw-r--r--examples/demos/n00bdemo/disp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/demos/n00bdemo/disp.h b/examples/demos/n00bdemo/disp.h
index ecf6dcf..2c76270 100644
--- a/examples/demos/n00bdemo/disp.h
+++ b/examples/demos/n00bdemo/disp.h
@@ -1,6 +1,7 @@
#ifndef _DISP_H
#define _DISP_H
+#include <sys/types.h>
#include <psxgte.h>
#define SCENE_TIME 60*15
@@ -13,7 +14,7 @@
void initDisplay();
void display();
-extern unsigned int ot[2][OT_LEN];
+extern u_long ot[2][OT_LEN];
extern char *nextpri;
extern int db;