libretro, build change for PS3 (disable drc)

This commit is contained in:
kub 2021-05-06 22:05:17 +02:00
parent eb36d9c7e6
commit e08e46ba44
2 changed files with 10 additions and 1 deletions

View file

@ -160,6 +160,9 @@ else ifeq ($(platform), ps3)
CFLAGS += -DBLARGG_BIG_ENDIAN=1 -D__ppc__ -DFAMEC_NO_GOTOS
STATIC_LINKING = 1
NO_MMAP = 1
# PS3 has memory mapped in a way not suitable for DRC
use_sh2drc = 0
use_svpdrc = 0
# sncps3
else ifeq ($(platform), sncps3)
@ -170,6 +173,9 @@ else ifeq ($(platform), sncps3)
CFLAGS += -DBLARGG_BIG_ENDIAN=1 -D__ppc__ -DFAMEC_NO_GOTOS
STATIC_LINKING = 1
NO_MMAP = 1
# PS3 has memory mapped in a way not suitable for DRC
use_sh2drc = 0
use_svpdrc = 0
# Lightweight PS3 Homebrew SDK
else ifeq ($(platform), psl1ght)
@ -179,6 +185,9 @@ else ifeq ($(platform), psl1ght)
CFLAGS += -DBLARGG_BIG_ENDIAN=1 -D__ppc__ -DFAMEC_NO_GOTOS
STATIC_LINKING = 1
NO_MMAP = 1
# PS3 has memory mapped in a way not suitable for DRC
use_sh2drc = 0
use_svpdrc = 0
# PSP
else ifeq ($(platform), psp1)

View file

@ -1187,7 +1187,7 @@ static void emith_ldst_offs(int sz, int rd, int rn, int o9, int ld, int mode)
#define host_instructions_updated(base, end, force) \
do { if (force) __builtin___clear_cache(base, end); } while (0)
#define emith_update_cache() /**/
#define emith_rw_offs_max() 0xff
#define emith_rw_offs_max() 0x1ff
#define emith_uext_ptr(r) /**/