mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-29 17:33:56 +00:00
Fixed Half-Shift Pixel mode to display more accurate orange
This commit is contained in:
parent
e56172caeb
commit
c7e451839e
@ -659,16 +659,16 @@ void DrawHiResSourceHalfShiftDim ()
|
|||||||
break;
|
break;
|
||||||
case CM_Orange:
|
case CM_Orange:
|
||||||
SETSOURCEPIXEL(SRCOFFS_HIRES+coloffs+x+adj+1,y , HGR_RED );
|
SETSOURCEPIXEL(SRCOFFS_HIRES+coloffs+x+adj+1,y , HGR_RED );
|
||||||
SETSOURCEPIXEL(SRCOFFS_HIRES+coloffs+x+adj+2,y , DARK_RED );
|
SETSOURCEPIXEL(SRCOFFS_HIRES+coloffs+x+adj+2,y , BROWN ); // DARK_RED is a bit "too" red
|
||||||
SETSOURCEPIXEL(SRCOFFS_HIRES+coloffs+x+adj+1,y+1, HGR_RED );
|
SETSOURCEPIXEL(SRCOFFS_HIRES+coloffs+x+adj+1,y+1, HGR_RED );
|
||||||
SETSOURCEPIXEL(SRCOFFS_HIRES+coloffs+x+adj+2,y+1, DARK_RED );
|
SETSOURCEPIXEL(SRCOFFS_HIRES+coloffs+x+adj+2,y+1, BROWN ); // DARK_RED is a bit "too" red
|
||||||
// Prevent column gaps
|
// Prevent column gaps
|
||||||
if (hibit)
|
if (hibit)
|
||||||
{
|
{
|
||||||
if (iPixel <= 2)
|
if (iPixel <= 2)
|
||||||
{
|
{
|
||||||
SETSOURCEPIXEL(SRCOFFS_HIRES+coloffs+x+adj ,y , DARK_RED );
|
SETSOURCEPIXEL(SRCOFFS_HIRES+coloffs+x+adj ,y , BROWN ); // DARK_RED is a bit "too" red
|
||||||
SETSOURCEPIXEL(SRCOFFS_HIRES+coloffs+x+adj ,y+1, DARK_RED );
|
SETSOURCEPIXEL(SRCOFFS_HIRES+coloffs+x+adj ,y+1, BROWN ); // DARK_RED is a bit "too" red
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user