mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 00:17:16 +00:00
Fix a few Coverity issues (#470)
This commit is contained in:
@@ -3251,8 +3251,9 @@ static void DrawVideoScannerValue(int line, int vert, int horz, bool isVisible)
|
||||
//===========================================================================
|
||||
static void DrawVideoScannerInfo(int line)
|
||||
{
|
||||
uint16_t v, h;
|
||||
NTSC_GetVideoVertHorzForDebugger(v, h); // update video scanner's vert/horz position - needed for when in fullspeed (GH#1164)
|
||||
uint16_t vert, horz;
|
||||
NTSC_GetVideoVertHorzForDebugger(vert, horz); // update video scanner's vert/horz position - needed for when in fullspeed (GH#1164)
|
||||
int v = vert, h = horz; // use int, since 'h - 13' can go -ve
|
||||
|
||||
if (g_videoScannerDisplayInfo.isHorzReal)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user