From 8607e516ecff0ec87793dec8decff1bb2cd0d78c Mon Sep 17 00:00:00 2001 From: adelikat Date: Thu, 12 Mar 2009 03:20:05 +0000 Subject: [PATCH] Minor debugger fixes --- src/drivers/win/debugger.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/win/debugger.cpp b/src/drivers/win/debugger.cpp index 83d48842..a466547c 100644 --- a/src/drivers/win/debugger.cpp +++ b/src/drivers/win/debugger.cpp @@ -541,10 +541,10 @@ void UpdateDebugger() int ppupixel = GETLASTPIXEL; - if (ppupixel>999) + if (ppupixel>341) //maximum number of pixels per scanline ppupixel = 0; //Currently pixel display is borked until Run 128 lines is clicked, this keeps garbage from displaying - sprintf(str, "Scanline: %d, Pixel %d", scanline,ppupixel); + sprintf(str, "Scanline %d, PPU pixel %d", scanline,ppupixel); SetDlgItemText(hDebug, IDC_DEBUGGER_VAL_SLINE, str); tmp = X.S|0x0100;