mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-05-12 22:54:50 +00:00
The mono palette hack isn't needed for SheepShaver.
This commit is contained in:
parent
29bb3d5a5a
commit
4da2082c07
@ -991,6 +991,7 @@ void driver_base::set_video_mode(int flags)
|
|||||||
void driver_base::init()
|
void driver_base::init()
|
||||||
{
|
{
|
||||||
set_video_mode(display_type == DISPLAY_SCREEN ? SDL_WINDOW_FULLSCREEN : 0);
|
set_video_mode(display_type == DISPLAY_SCREEN ? SDL_WINDOW_FULLSCREEN : 0);
|
||||||
|
#ifndef SHEEPSHAVER
|
||||||
// manually set palette for 24bit ROM
|
// manually set palette for 24bit ROM
|
||||||
// 24 bit ROM Macintosh is BW screen. It doesn't setup palette by the ROM.
|
// 24 bit ROM Macintosh is BW screen. It doesn't setup palette by the ROM.
|
||||||
if (TwentyFourBitAddressing && !sdl_palette) {
|
if (TwentyFourBitAddressing && !sdl_palette) {
|
||||||
@ -1003,6 +1004,7 @@ void driver_base::init()
|
|||||||
}
|
}
|
||||||
update_palette();
|
update_palette();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
int aligned_height = (VIDEO_MODE_Y + 15) & ~15;
|
int aligned_height = (VIDEO_MODE_Y + 15) & ~15;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user