diff options
Diffstat (limited to 'examples/graphics/hdtv')
| -rw-r--r-- | examples/graphics/hdtv/clip.h | 1 | ||||
| -rw-r--r-- | examples/graphics/hdtv/lookat.h | 1 | ||||
| -rw-r--r-- | examples/graphics/hdtv/main.c | 9 |
3 files changed, 8 insertions, 3 deletions
diff --git a/examples/graphics/hdtv/clip.h b/examples/graphics/hdtv/clip.h index 3b428bb..4daf47a 100644 --- a/examples/graphics/hdtv/clip.h +++ b/examples/graphics/hdtv/clip.h @@ -1,6 +1,7 @@ #ifndef _CLIP_H #define _CLIP_H +#include <sys/types.h> #include <psxgte.h> #include <psxgpu.h> diff --git a/examples/graphics/hdtv/lookat.h b/examples/graphics/hdtv/lookat.h index c57e50a..4b10596 100644 --- a/examples/graphics/hdtv/lookat.h +++ b/examples/graphics/hdtv/lookat.h @@ -1,6 +1,7 @@ #ifndef _LOOKAT_H #define _LOOKAT_H +#include <sys/types.h> #include <psxgte.h> #include <psxgpu.h> diff --git a/examples/graphics/hdtv/main.c b/examples/graphics/hdtv/main.c index 82911d5..a4dcd79 100644 --- a/examples/graphics/hdtv/main.c +++ b/examples/graphics/hdtv/main.c @@ -2,7 +2,7 @@ * LibPSn00b Example Programs * * Full-resolution, Anamorphic Widescreen 3D Example - * 2020 Meido-Tek Productions / PSn00bSDK Project + * 2020 - 2021 Meido-Tek Productions / PSn00bSDK Project * * This example is a modification of the fpscam example demonstrating * a method for taking advantage of widescreen HDTVs by means of a @@ -51,10 +51,13 @@ * * Changelog: * - * November 27, 2020 - Initial version. + * May 10, 2021 - Variable types updated for psxgpu.h changes. + * + * November 27, 2020 - Initial version. * */ +#include <sys/types.h> #include <stdio.h> #include <psxgpu.h> #include <psxgte.h> @@ -83,7 +86,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; |
