Debugger: Fix for bpv when in full-speed (#1164)

This commit is contained in:
tomcw
2023-01-12 21:51:08 +00:00
parent 0fe774dbdf
commit 244799ec5a
4 changed files with 9 additions and 7 deletions
+2 -4
View File
@@ -3231,10 +3231,8 @@ static void DrawVideoScannerValue(int line, int vert, int horz, bool isVisible)
//===========================================================================
static void DrawVideoScannerInfo(int line)
{
NTSC_UpdateVideoHVForDebugger(); // update g_nVideoClockHorz/g_nVideoClockVert
int v = g_nVideoClockVert;
int h = g_nVideoClockHorz;
uint16_t v, h;
NTSC_GetVideoHVForDebugger(v, h); // update g_nVideoClockHorz/g_nVideoClockVert - needed for when in fullspeed (GH#1164)
if (g_videoScannerDisplayInfo.isHorzReal)
{