From 8ddfae6bc2bc9d0c279aaf81599c55cb7fcedcf3 Mon Sep 17 00:00:00 2001 From: David Guillen Fandos Date: Sat, 24 Jul 2021 02:00:16 +0200 Subject: [PATCH] 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. --- .gitlab-ci.yml | 4 ++++ Makefile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1f8801a..3586234 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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' diff --git a/Makefile b/Makefile index cde02b2..a4f4897 100644 --- a/Makefile +++ b/Makefile @@ -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