scummvm/base
Lars Sundström 20d14337c9 IOS7: Make "Designed for iPad" on Mac silicon great again
It is possible to run iOS applications on macOS on Mac computers
running on Apple Silicon. This was possible before moving to the
ModularGraphicsBackend implementation in the iOS7 port with just
a little tweaking.

After the move to ModularGraphicsBackend, the ScummVM application
crashed on launch. There were two reasons for crashing;

1. dlsym() was called with the special handle RTLD_SELF to search
for the address binding of the GLES2 load symbol. Using RTLD_SELF
the search for the symbol is limited to the shared object issuing
the call to dlsym() and those shared objjects which were loaded
after it. When running an iOS app in macOS it seems that the app
is running inside a wrapper, which means that the objects resides
in a different level. Changing the search level to RTLD_DEFAULT
changes the search to also include all objects loaded at program
start-up.

2. As for the native macOS application, XCode also adds the
argument -NSDocumentRevisionsDebugMode YES if XCode option
"Allow debugging when using document Versions Browser" is on.
Make sure not to parse that argument also when building the
IPHONE target.
2024-01-21 10:57:27 +01:00
..
detection COMMON: Mark more symbols as const 2023-12-26 20:23:59 +01:00
commandLine.cpp IOS7: Make "Designed for iPad" on Mac silicon great again 2024-01-21 10:57:27 +01:00
commandLine.h
internal_plugins.h
internal_revision.h.in
internal_version.h RELEASE: This is 2.9.0git 2023-12-03 22:09:08 +01:00
internal_version.h.in
main.cpp BASE: Migrate to Path class 2023-12-24 13:19:25 +01:00
main.h
module.mk
plugins.cpp COMMON: Mark more symbols as const 2023-12-26 20:23:59 +01:00
plugins.h COMMON: Mark more symbols as const 2023-12-26 20:23:59 +01:00
test_new_standards.cpp
version.cpp AUDIO: Support building the EAS MIDI driver on non-Android platforms 2023-08-06 14:10:50 +02:00
version.h SCUMM HE: Remove gScummVMVersionLite which is no longer needed 2023-04-10 23:41:05 -03:00