diff options
| author | John Wilbert M. Villamor <lameguy64@gmail.com> | 2021-08-31 12:10:28 +0800 |
|---|---|---|
| committer | John Wilbert M. Villamor <lameguy64@gmail.com> | 2021-08-31 12:10:28 +0800 |
| commit | 317dc2b91d3afcdbaddb035f38611d12af161970 (patch) | |
| tree | 00beddb226dca35c9f07d9728a08eb790380dd9f /libpsn00b | |
| parent | acc1a959fe3c4bc5d5e91f1f31e182ff967008ca (diff) | |
| download | psn00bsdk-317dc2b91d3afcdbaddb035f38611d12af161970.tar.gz | |
Forgot to commit updated font.c
Diffstat (limited to 'libpsn00b')
| -rw-r--r-- | libpsn00b/psxgpu/font.c | 10 |
1 files 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; |
