mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-23 00:30:17 +00:00
Fix video junk on RHS edge for TV & Monitor video modes. (Fixes #1157)
This commit is contained in:
parent
aa40b2dda7
commit
ac12f3c294
@ -703,8 +703,10 @@ inline void updateVideoScannerHorzEOL()
|
|||||||
g_pFuncUpdateHuePixel(g_nLastColumnPixelNTSC); // last pixel in 14M video modes
|
g_pFuncUpdateHuePixel(g_nLastColumnPixelNTSC); // last pixel in 14M video modes
|
||||||
g_pFuncUpdateHuePixel(0); // 14M ringing pixel! (better definition for 80COL char's right-hand edge)
|
g_pFuncUpdateHuePixel(0); // 14M ringing pixel! (better definition for 80COL char's right-hand edge)
|
||||||
// Direct write instead of g_pFuncUpdateHuePixel(0) to avoid random pixels on RHS in VT_COLOR_MONITOR_NTSC
|
// Direct write instead of g_pFuncUpdateHuePixel(0) to avoid random pixels on RHS in VT_COLOR_MONITOR_NTSC
|
||||||
*(uint32_t*)g_pVideoAddress++ = 0 | ALPHA32_MASK;
|
*(uint32_t*)g_pVideoAddress = 0 | ALPHA32_MASK;
|
||||||
*(uint32_t*)g_pVideoAddress++ = 0 | ALPHA32_MASK;
|
*(getScanlineNextInbetween()) = 0 | ALPHA32_MASK; g_pVideoAddress++; // Clear junk on RHS for TV (Color/B&W) & Monitor (NTSC/PAL). (GH#1157)
|
||||||
|
*(uint32_t*)g_pVideoAddress = 0 | ALPHA32_MASK;
|
||||||
|
*(getScanlineNextInbetween()) = 0 | ALPHA32_MASK; g_pVideoAddress++; // Clear junk on RHS for TV (Color/B&W) & Monitor (NTSC/PAL). (GH#1157)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user