flyinghead / flycast

Flycast is a multiplatform Sega Dreamcast, Naomi, Naomi 2 and Atomiswave emulator
GNU General Public License v2.0
1.3k stars 163 forks source link

ios 16.3 Crashed 2.3 #1461

Closed elgado01 closed 3 months ago

elgado01 commented 4 months ago

Hello, I am using Flycast 2.2 on iOS 16.3 without any problems.

I installed flycast 2.3 and the emulator closes immediately before opening. What could be the problem?

flyinghead commented 4 months ago

I can reproduce the issue. @scribam the glad loader isn't called on iOS. Is glad compatible with iOS? I can't find a way to use it. It works fine if I revert to pre-glad code for iOS.

flyinghead commented 4 months ago

Should be fixed in the latest master build. I also pushed an update to AltStore.

elgado01 commented 4 months ago

Thank you god working ❤️

scribam commented 4 months ago

Yes, glad should be compatible with iOS. Since the version used in Flycast doesn't embed the glad loader (it is optional), maybe gladLoadGLES2(aglGetProcAddress) could do the job. Otherwise, we can try to add the glad loader but I had some issues with other platforms when doing so.