RGB Card support: treat AppleColor card as an alias of SL7 (#851)

This commit is contained in:
tomcw 2020-11-01 16:39:53 +00:00
parent fb0871672c
commit 1e43b331f3
3 changed files with 2 additions and 3 deletions

View File

@ -1840,7 +1840,7 @@ static bool ProcessCmdLine(LPSTR lpCmdLine)
lpCmdLine = GetCurrArg(lpNextArg);
lpNextArg = GetNextArg(lpNextArg);
if (strcmp(lpCmdLine, "apple") == 0)
if (strcmp(lpCmdLine, "apple") == 0) // Just an alias for SL7
g_cmdLine.rgbCard = RGB_Videocard_e::Apple;
else if (strcmp(lpCmdLine, "sl7") == 0)
g_cmdLine.rgbCard = RGB_Videocard_e::Video7_SL7;

View File

@ -1215,7 +1215,6 @@ void VideoSwitchVideocardPalette(RGB_Videocard_e videocard, VideoType_e type)
static UINT g_rgbFlags = 0;
static UINT g_rgbMode = 0;
static WORD g_rgbPrevAN3Addr = 0;
static bool g_rgbSet80COL = false; // unused from 1.29.16.0
static bool g_rgbInvertBit7 = false;
// Video7 RGB card:

View File

@ -2,8 +2,8 @@
enum RGB_Videocard_e
{
Apple,
Video7_SL7,
Apple = Video7_SL7, // Apple's Extended 80-Column Text/AppleColor Adaptor Card is an alias for Video7's RGB-SL7
LeChatMauve_EVE,
LeChatMauve_Feline
};