From 01fe30bd8bae59ab954751b08bcc1d158eff7edb Mon Sep 17 00:00:00 2001 From: "John Wilbert M. Villamor" Date: Thu, 1 Jul 2021 08:45:46 +0800 Subject: 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. --- examples/graphics/fpscam/clip.h | 1 + examples/graphics/fpscam/lookat.h | 1 + examples/graphics/fpscam/main.c | 5 +++-- 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'examples/graphics/fpscam') diff --git a/examples/graphics/fpscam/clip.h b/examples/graphics/fpscam/clip.h index 3b428bb..4daf47a 100644 --- a/examples/graphics/fpscam/clip.h +++ b/examples/graphics/fpscam/clip.h @@ -1,6 +1,7 @@ #ifndef _CLIP_H #define _CLIP_H +#include #include #include diff --git a/examples/graphics/fpscam/lookat.h b/examples/graphics/fpscam/lookat.h index c57e50a..4b10596 100644 --- a/examples/graphics/fpscam/lookat.h +++ b/examples/graphics/fpscam/lookat.h @@ -1,6 +1,7 @@ #ifndef _LOOKAT_H #define _LOOKAT_H +#include #include #include diff --git a/examples/graphics/fpscam/main.c b/examples/graphics/fpscam/main.c index 9dedf06..a009a65 100644 --- a/examples/graphics/fpscam/main.c +++ b/examples/graphics/fpscam/main.c @@ -33,7 +33,8 @@ * Sep 24, 2019 - Added camera position display and _boot() exit. * */ - + +#include #include #include #include @@ -62,7 +63,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; -- cgit v1.2.3