mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-23 19:29:18 +00:00
fix colors in b2 video_macosx.mm code
This commit is contained in:
parent
e1c0a08957
commit
3b77a377c2
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user