Add PS2 builds and expand the ROM buffer to 16MB

This requires the new PS2 font drive to work, since gskit uses too much
memory.
This commit is contained in:
David Guillen Fandos 2021-07-24 02:00:16 +02:00
parent d468f473e8
commit 8ddfae6bc2
2 changed files with 5 additions and 1 deletions

View File

@ -51,6 +51,10 @@ include:
file: '/ios9.yml'
################################## CONSOLES ################################
# PlayStation 2
- project: 'libretro-infrastructure/ci-templates'
file: '/ps2-static.yml'
# PlayStation Portable
- project: 'libretro-infrastructure/ci-templates'
file: '/psp-static.yml'

View File

@ -402,7 +402,7 @@ else ifeq ($(platform), ps2)
CC = mips64r5900el-ps2-elf-gcc$(EXE_EXT)
AR = mips64r5900el-ps2-elf-ar$(EXE_EXT)
CFLAGS += -fomit-frame-pointer -ffast-math
CFLAGS += -DPS2 -DUSE_XBGR1555_FORMAT -DSMALL_TRANSLATION_CACHE -DROM_BUFFER_SIZE=12
CFLAGS += -DPS2 -DUSE_XBGR1555_FORMAT -DSMALL_TRANSLATION_CACHE -DROM_BUFFER_SIZE=16
CFLAGS += -D_EE -I$(PS2SDK)/ee/include/ -I$(PS2SDK)/common/include/
HAVE_DYNAREC = 1
CPU_ARCH := mips