aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/psxetc
diff options
context:
space:
mode:
Diffstat (limited to 'libpsn00b/psxetc')
-rw-r--r--libpsn00b/psxetc/font.c2
-rw-r--r--libpsn00b/psxetc/makefile4
2 files changed, 2 insertions, 4 deletions
diff --git a/libpsn00b/psxetc/font.c b/libpsn00b/psxetc/font.c
index 69d864c..46718d0 100644
--- a/libpsn00b/psxetc/font.c
+++ b/libpsn00b/psxetc/font.c
@@ -19,7 +19,7 @@ void FntLoad(int x, int y) {
pos.x = x;
pos.y = y;
- _font_tpage = getTPage( 0, 0, pos.x, pos.y ) | 0x200;
+ _font_tpage = getTPage( 0, 0, pos.x, pos.y );
LoadImage( &pos, tim.paddr );
DrawSync(0);
diff --git a/libpsn00b/psxetc/makefile b/libpsn00b/psxetc/makefile
index fe29212..56bdce7 100644
--- a/libpsn00b/psxetc/makefile
+++ b/libpsn00b/psxetc/makefile
@@ -2,7 +2,7 @@
# Part of the PSn00bSDK Project
# 2019 Lameguy64 / Meido-Tek Productions
-PREFIX = mipsel-unknown-elf-
+include ../common.mk
TARGET = ../libpsxetc.a
@@ -10,8 +10,6 @@ CFILES = $(notdir $(wildcard ./*.c))
AFILES = $(notdir $(wildcard ./*.s))
OFILES = $(addprefix build/,$(CFILES:.c=.o) $(AFILES:.s=.o))
-INCLUDE = -I../include
-
CFLAGS = -g -O2 -msoft-float -fno-builtin -nostdlib -Wa,--strip-local-absolute
AFLAGS = -g -msoft-float --strip-local-absolute