mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-02-01 12:35:30 +01:00
Merge branch 'master' of https://github.com/libretro/picodrive
This commit is contained in:
commit
2a6331aff4
@ -347,6 +347,15 @@ else ifeq ($(platform), wii)
|
||||
AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT)
|
||||
CFLAGS += -DGEKKO -DHW_RVL -mrvl -mcpu=750 -meabi -mhard-float -DBLARGG_BIG_ENDIAN=1 -D__ppc__
|
||||
|
||||
# Nintendo Switch (libtransistor)
|
||||
else ifeq ($(platform), switch)
|
||||
TARGET := $(TARGET_NAME)_libretro_$(platform).a
|
||||
include $(LIBTRANSISTOR_HOME)/libtransistor.mk
|
||||
STATIC_LINKING=1
|
||||
NO_MMAP = 1
|
||||
ARCH = aarch64
|
||||
|
||||
|
||||
# QNX
|
||||
else ifeq ($(platform), qnx)
|
||||
TARGET := $(TARGET_NAME)_libretro_$(platform).so
|
||||
|
||||
@ -395,7 +395,7 @@ void *plat_mmap(unsigned long addr, size_t size, int need_exec, int is_fixed)
|
||||
|
||||
void *plat_mremap(void *ptr, size_t oldsize, size_t newsize)
|
||||
{
|
||||
#ifdef __linux__
|
||||
#if defined(__linux__) && !defined(__SWITCH__)
|
||||
void *ret = mremap(ptr, oldsize, newsize, 0);
|
||||
if (ret == MAP_FAILED)
|
||||
return NULL;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user