mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-04-02 22:31:29 +00:00
Fix mode Color Text Optimized -> Monochrome TV
This commit is contained in:
parent
29fbe9515c
commit
c68c50c8db
@ -690,7 +690,7 @@ void updateMonochromeColor( uint16_t r, uint16_t g, uint16_t b )
|
||||
|
||||
g_aNTSCMonoTelevisionCustom[ iSample ][ _B ] = (g_aNTSCMonoTelevision[ iSample ][_B] * b) >> 8;
|
||||
g_aNTSCMonoTelevisionCustom[ iSample ][ _G ] = (g_aNTSCMonoTelevision[ iSample ][_G] * g) >> 8;
|
||||
g_aNTSCMonoTelevisionCustom[ iSample ][ _B ] = (g_aNTSCMonoTelevision[ iSample ][_R] * r) >> 8;
|
||||
g_aNTSCMonoTelevisionCustom[ iSample ][ _R ] = (g_aNTSCMonoTelevision[ iSample ][_R] * r) >> 8;
|
||||
g_aNTSCMonoTelevisionCustom[ iSample ][ _A ] = 0xFF;
|
||||
}
|
||||
}
|
||||
@ -729,6 +729,10 @@ void NTSC_SetVideoStyle() // (int v, int s)
|
||||
break;
|
||||
|
||||
case VT_COLOR_TEXT_OPTIMIZED: // VT_MONO_TV: //2:
|
||||
r = 0xFF;
|
||||
g = 0xFF;
|
||||
b = 0xFF;
|
||||
updateMonochromeColor( r, g, b ); // Custom Monochrome color
|
||||
if (s) {
|
||||
ntscMonoPixel = ntscColorPixel = ntscMonoTVSinglePixel;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user