From b3ebcd595cc38d990c75a9b81df68bfbf263fdc8 Mon Sep 17 00:00:00 2001 From: kanjitalk755 Date: Wed, 12 Oct 2022 11:17:27 +0900 Subject: [PATCH] fix for macOS --- SheepShaver/src/Unix/main_unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SheepShaver/src/Unix/main_unix.cpp b/SheepShaver/src/Unix/main_unix.cpp index 2eb0ef13..3af7ad4a 100755 --- a/SheepShaver/src/Unix/main_unix.cpp +++ b/SheepShaver/src/Unix/main_unix.cpp @@ -697,7 +697,7 @@ static bool init_sdl() assert(sdl_flags != 0); #ifdef USE_SDL_VIDEO -#if REAL_ADDRESSING +#if REAL_ADDRESSING && !defined(__MACOSX__) // Needed to fix a crash when using Wayland // Forces use of XWayland instead setenv("SDL_VIDEODRIVER", "x11", true);