mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 17:57:14 +00:00
AGI: Use special Apple IIgs SQ1 palette for SQ1
Was already documented inside palette.h, but wasn't used yet
This commit is contained in:
parent
7807bcb76b
commit
fb90140bee
@ -87,7 +87,16 @@ int GfxMgr::initVideo() {
|
||||
}
|
||||
break;
|
||||
case Common::kRenderApple2GS:
|
||||
initPalette(_paletteGfxMode, PALETTE_APPLE_II_GS, 16, 4);
|
||||
switch (_vm->getGameID()) {
|
||||
case GID_SQ1:
|
||||
// Special one, only used for Space Quest 1 on Apple IIgs. Is the same as Amiga v1 palette
|
||||
initPalette(_paletteGfxMode, PALETTE_APPLE_II_GS_SQ1, 16, 4);
|
||||
break;
|
||||
default:
|
||||
// Regular "standard" Apple IIgs palette, used by everything else
|
||||
initPalette(_paletteGfxMode, PALETTE_APPLE_II_GS, 16, 4);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case Common::kRenderAtariST:
|
||||
initPalette(_paletteGfxMode, PALETTE_ATARI_ST, 16, 3);
|
||||
|
@ -122,6 +122,9 @@ static const uint8 PALETTE_APPLE_II_GS[16 * 3] = {
|
||||
0xF, 0xF, 0xF
|
||||
};
|
||||
|
||||
// Re-use Amiga v1 palette for Apple IIgs Space Quest 1
|
||||
#define PALETTE_APPLE_II_GS_SQ1 PALETTE_AMIGA_V1
|
||||
|
||||
/**
|
||||
* First generation Amiga & Apple IIGS AGI palette.
|
||||
* A 16-color, 12-bit RGB palette.
|
||||
|
Loading…
x
Reference in New Issue
Block a user