aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/psxetc/fntsort.c
diff options
context:
space:
mode:
authorJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-06-23 07:42:16 +0800
committerJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-06-23 07:42:16 +0800
commit7be9178c0f9b0e698a305ecc5c0c41fcc596a4fc (patch)
treee98c627e1da5c764563774b89b0c06d7ac5ad0a4 /libpsn00b/psxetc/fntsort.c
parentae9e545c3ed33d39ce21ae13ceb8337fa34901b8 (diff)
downloadpsn00bsdk-7be9178c0f9b0e698a305ecc5c0c41fcc596a4fc.tar.gz
LibPSn00b officially v0.10b, added psxsio library, better DrawSync() and VSync(), better reference manual.
Diffstat (limited to 'libpsn00b/psxetc/fntsort.c')
-rw-r--r--libpsn00b/psxetc/fntsort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpsn00b/psxetc/fntsort.c b/libpsn00b/psxetc/fntsort.c
index 29e7de5..3890ebb 100644
--- a/libpsn00b/psxetc/fntsort.c
+++ b/libpsn00b/psxetc/fntsort.c
@@ -36,8 +36,8 @@ char *FntSort(unsigned int *ot, char *pri, int x, int y, const char *text) {
pri = (char*)sprt;
tpage = (DR_TPAGE*)pri;
- setlen( tpage, 1 );
tpage->code[0] = _font_tpage;
+ setlen( tpage, 1 );
setcode( tpage, 0xe1 );
addPrim( ot, pri );
pri += sizeof(DR_TPAGE);