From 3b77a377c2409310e7f814b6936c755ee66994c8 Mon Sep 17 00:00:00 2001 From: Alexei Svitkine Date: Sun, 3 Dec 2017 15:44:31 -0500 Subject: [PATCH] fix colors in b2 video_macosx.mm code --- BasiliskII/src/MacOSX/video_macosx.mm | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/BasiliskII/src/MacOSX/video_macosx.mm b/BasiliskII/src/MacOSX/video_macosx.mm index d4eff082..510b6e6c 100644 --- a/BasiliskII/src/MacOSX/video_macosx.mm +++ b/BasiliskII/src/MacOSX/video_macosx.mm @@ -422,17 +422,10 @@ void OSX_monitor::set_mac_frame_buffer(const video_mode mode) { #if !REAL_ADDRESSING && !DIRECT_ADDRESSING - switch ( mode.depth ) - { - // case VDEPTH_15BIT: - case VDEPTH_16BIT: MacFrameLayout = FLAYOUT_HOST_555; break; - // case VDEPTH_24BIT: - case VDEPTH_32BIT: MacFrameLayout = FLAYOUT_HOST_888; break; - default : MacFrameLayout = FLAYOUT_DIRECT; - } set_mac_frame_base(MacFrameBaseMac); // Set variables used by UAE memory banking + MacFrameLayout = FLAYOUT_DIRECT; MacFrameBaseHost = (uint8 *) the_buffer; MacFrameSize = mode.bytes_per_row * mode.y; InitFrameBufferMapping();