Always updateMonoTables() since previous video-mode could have had a non-white RGB value
. eg. when cycling backwards from Amber to TV
This commit is contained in:
parent
346f45b3e9
commit
7e56e93449
1 changed files with 8 additions and 0 deletions
|
@ -1509,6 +1509,10 @@ void NTSC_SetVideoStyle() // (int v, int s)
|
|||
switch ( g_eVideoType )
|
||||
{
|
||||
case VT_COLOR_TVEMU: // VT_COLOR_TV: // 0:
|
||||
r = 0xFF;
|
||||
g = 0xFF;
|
||||
b = 0xFF;
|
||||
updateMonochromeTables( r, g, b );
|
||||
if (half)
|
||||
{
|
||||
g_pFuncUpdateBnWPixel = updatePixelBnWColorTVSingleScanline;
|
||||
|
@ -1522,6 +1526,10 @@ void NTSC_SetVideoStyle() // (int v, int s)
|
|||
|
||||
case VT_COLOR_STANDARD: // VT_COLOR_MONITOR: //1:
|
||||
default:
|
||||
r = 0xFF;
|
||||
g = 0xFF;
|
||||
b = 0xFF;
|
||||
updateMonochromeTables( r, g, b );
|
||||
if (half)
|
||||
{
|
||||
g_pFuncUpdateBnWPixel = updatePixelBnWMonitorSingleScanline;
|
||||
|
|
Loading…
Add table
Reference in a new issue