From ef3d3bd2469df99c45678206bf273f3b9b3495e8 Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Wed, 23 Apr 2025 16:39:16 +0200 Subject: [PATCH] iOS: fix crash due to f3a33642f882ed0a1683102d737df7d1c57a0e4d --- shell/apple/emulator-ios/emulator/FlycastViewController.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/apple/emulator-ios/emulator/FlycastViewController.mm b/shell/apple/emulator-ios/emulator/FlycastViewController.mm index bff71e870..42a930222 100644 --- a/shell/apple/emulator-ios/emulator/FlycastViewController.mm +++ b/shell/apple/emulator-ios/emulator/FlycastViewController.mm @@ -323,7 +323,7 @@ static void updateAudioSession(Event event, void *) } settings.display.dpi = 160.f * scale; initRenderApi(); -#if defined(TARGET_OS_SIMULATOR) && HOST_CPU == CPU_ARM64 +#if TARGET_OS_SIMULATOR == 1 && HOST_CPU == CPU_ARM64 if (config::RendererType.get() == RenderType::OpenGL) { NSLog(@"🚨🚨🚨 OpenGL renderer is not supported in Apple Silicon Mac 🚨🚨🚨\n");