ios/tvos: properly set min supported version (#3)
Some checks failed
Build / Linux (push) Has been cancelled
Build / macOS (push) Has been cancelled
Build / Windows (Win32) (push) Has been cancelled
Build / Windows (x64) (push) Has been cancelled

This commit is contained in:
Eric Warmenhoven 2024-10-21 13:05:52 -04:00 committed by GitHub
parent d3ca8e6ecb
commit ca34413ccc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -137,7 +137,9 @@ else ifneq (,$(findstring ios,$(platform)))
else
MINVERSION = -miphoneos-version-min=5.0
endif
CFLAGS += $(MINVERSION)
CXXFLAGS += $(MINVERSION)
SHARED += $(MINVERSION)
# tvOS
else ifeq ($(platform), tvos-arm64)
@ -154,6 +156,10 @@ else ifeq ($(platform), tvos-arm64)
CC = cc -arch arm64 -isysroot $(IOSSDK)
CXX = c++ -arch arm64 -isysroot $(IOSSDK)
MINVERSION = -mappletvos-version-min=11.0
CFLAGS += $(MINVERSION)
CXXFLAGS += $(MINVERSION)
SHARED += $(MINVERSION)
# Nintendo Switch (libnx)
else ifeq ($(platform), libnx)

View File

@ -55,7 +55,7 @@ class StellaLIBRETRO
bool saveState(void* data, size_t size) const;
public:
const char* getCoreName() const { return "Stella"; }
const char* getCoreName() const { return "Stella 2023"; }
const char* getROMExtensions() const { return "a26|bin"; }
void* getROM() const { return rom_image.get(); }