mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-05 00:36:57 +00:00
20d14337c9
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. |
||
---|---|---|
.. | ||
detection | ||
commandLine.cpp | ||
commandLine.h | ||
internal_plugins.h | ||
internal_revision.h.in | ||
internal_version.h | ||
internal_version.h.in | ||
main.cpp | ||
main.h | ||
module.mk | ||
plugins.cpp | ||
plugins.h | ||
test_new_standards.cpp | ||
version.cpp | ||
version.h |