aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/psxetc
diff options
context:
space:
mode:
authorJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-07-17 11:30:07 +0800
committerJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-07-17 11:30:07 +0800
commit0d4345a9bf2623df079c50a3bc73cbb7deca1176 (patch)
tree6cda70b844f39fc2d65a806b91a6010066433b56 /libpsn00b/psxetc
parentb956c5391b955e793a4d54572aa58872b4c66c30 (diff)
downloadpsn00bsdk-0d4345a9bf2623df079c50a3bc73cbb7deca1176.tar.gz
Added C++ support, updated build instructions and makefiles, consolidated libc and libgcc (during build process), libraries now v0.12b and more
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