Closed jet082 closed 5 years ago
This is fixed by doing the following:
Add this to the Makefile
else ifeq ($(platform), ios-arm64)
TARGET := $(TARGET_NAME)_libretro_ios.dylib
APPLE := 1
SHARED := -dynamiclib
fpic := -fPIC
ifeq ($(IOSSDK),)
IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path)
endif
CC = clang -arch arm64 -isysroot $(IOSSDK)
CXX = clang++ -arch arm64 -isysroot $(IOSSDK)
CC_AS = perl ./tools/gas-preprocessor.pl $(CC)
CFLAGS += -DIOS
CC += -miphoneos-version-min=8.0
CXX += -miphoneos-version-min=8.0
CC_AS += -miphoneos-version-min=8.0
CFLAGS += -miphoneos-version-min=8.0
ARCH := arm64
HAVE_NEON = 0
use_cyclone = 0
use_fame = 1
use_drz80 = 0
use_cz80 = 1
use_sh2drc = 0
use_svpdrc = 0
Replace all instances of #if defined(__ARM_NEON__)
with #if defined(__ARM_NEON__) && false
in libretro-common/audio/conversion/float_to_s16.c
and libretro-dinothawr/libretro-common/audio/conversion/s16_to_float.c
Replace all instances of #if defined(ARM_NEON) with #if defined(ARM_NEON) && false
The && false
seems questionable. Unsure what float_to_s16 is doing in this content, but it seems like the functionality may be needed for the audio.
I have tested this on my iPad Pro and the game runs properly and sound works well.
See title.
Error is: