From 35bf8b2c2531abfa995f58bf8b9b1915fe2b9716 Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Sat, 30 Jun 2007 07:33:30 +0000 Subject: [PATCH] Use NSIMAGE graphics mode for MacOS X on Intel platforms for now. Otherwise it's crashing in some Apple code. --- BasiliskII/src/MacOSX/video_macosx.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/BasiliskII/src/MacOSX/video_macosx.h b/BasiliskII/src/MacOSX/video_macosx.h index a0a204bf..19ac84e0 100644 --- a/BasiliskII/src/MacOSX/video_macosx.h +++ b/BasiliskII/src/MacOSX/video_macosx.h @@ -24,8 +24,13 @@ /* Set the strategy for drawing the bitmap in the Mac OS X window */ //#define CGDRAWBITMAP +#if defined __i386__ +//#define CGIMAGEREF +#define NSBITMAP +#else #define CGIMAGEREF //#define NSBITMAP +#endif // Using Core Graphics is fastest when rendering 32bit data. // Using CGImageRefs allows us to use all the bitmaps that BasiliskII supports.