From 317dc2b91d3afcdbaddb035f38611d12af161970 Mon Sep 17 00:00:00 2001 From: "John Wilbert M. Villamor" Date: Tue, 31 Aug 2021 12:10:28 +0800 Subject: Forgot to commit updated font.c --- libpsn00b/psxgpu/font.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libpsn00b/psxgpu/font.c b/libpsn00b/psxgpu/font.c index 8be04a3..7d0dd89 100644 --- a/libpsn00b/psxgpu/font.c +++ b/libpsn00b/psxgpu/font.c @@ -18,17 +18,17 @@ typedef struct _fnt_stream { static _fnt_stream _stream[8]; static int _nstreams = 0; -unsigned short _font_tpage; -unsigned short _font_clut; +u_short _font_tpage; +u_short _font_clut; -extern unsigned char dbugfont[]; +extern u_char dbugfont[]; void FntLoad(int x, int y) { RECT pos; TIM_IMAGE tim; - GetTimInfo( (unsigned int*)dbugfont, &tim ); + GetTimInfo( (u_long*)dbugfont, &tim ); // Load font image pos = *tim.prect; @@ -215,7 +215,7 @@ char *FntFlush(int id) { // Draw the primitives DrawSync(0); - DrawOTag((unsigned int*)_stream[id].pribuff); + DrawOTag((u_long*)_stream[id].pribuff); DrawSync(0); _stream[id].txtnext = _stream[id].txtbuff; -- cgit v1.2.3