aboutsummaryrefslogtreecommitdiff
path: root/examples/graphics/rgb24
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/graphics/rgb24
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/graphics/rgb24')
-rw-r--r--examples/graphics/rgb24/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/graphics/rgb24/main.c b/examples/graphics/rgb24/main.c
index 9f1a647..3c0bebf 100644
--- a/examples/graphics/rgb24/main.c
+++ b/examples/graphics/rgb24/main.c
@@ -12,16 +12,19 @@
*
* Changelog:
*
- * 05-03-2019 - Initial version.
+ * May 10, 2021 - Variable types updated for psxgpu.h changes.
+ *
+ * May 3, 2019 - Initial version.
*
*/
+#include <sys/types.h>
#include <stdio.h>
#include <psxgte.h>
#include <psxgpu.h>
// So data from tim.s can be accessed
-extern unsigned int tim_image[];
+extern u_long tim_image[];
int main() {