Win32 - Debugger - more vblank scanline display upgrades

This commit is contained in:
adelikat 2009-03-13 00:08:00 +00:00
parent 8b6c5f6d6a
commit 9deded2762
2 changed files with 10 additions and 4 deletions

View File

@ -547,8 +547,14 @@ void UpdateDebugger()
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
//If not in the 0-239 pixel range, make special cases for display
if (scanline == 240 && vblankScanLines < 22)
sprintf(str, "Scanline %d, PPU pixel %d", scanline+vblankScanLines,vblankPixel);
{
if (scanline + vblankScanLines == 261)
sprintf(str, "Scanline -1, PPU pixel %d", vblankPixel); //Pre-render
else
sprintf(str, "Scanline %d, PPU pixel %d", scanline+vblankScanLines,vblankPixel);
}
else
sprintf(str, "Scanline %d, PPU pixel %d", scanline,ppupixel);

View File

@ -958,10 +958,10 @@ BEGIN
PUSHBUTTON "Seek To:",IDC_DEBUGGER_SEEK_TO,349,56,37,14
EDITTEXT IDC_DEBUGGER_VAL_PCSEEK,389,57,38,12,ES_UPPERCASE | ES_WANTRETURN
LTEXT "PPU:",65531,349,196,19,10
LTEXT "Sprite:",65530,395,196,21,10
LTEXT "Sprite:",65530,394,196,21,10
EDITTEXT IDC_DEBUGGER_VAL_PPU,367,195,25,12,ES_UPPERCASE | ES_WANTRETURN
EDITTEXT IDC_DEBUGGER_VAL_SPR,417,195,15,12,ES_UPPERCASE | ES_WANTRETURN
LTEXT "Scanline:",IDC_DEBUGGER_VAL_SLINE,435,196,97,10
EDITTEXT IDC_DEBUGGER_VAL_SPR,415,195,15,12,ES_UPPERCASE | ES_WANTRETURN
LTEXT "Scanline:",IDC_DEBUGGER_VAL_SLINE,432,196,102,10
CONTROL "",IDC_DEBUGGER_ADDR_LINE,"Static",SS_LEFTNOWORDWRAP | WS_GROUP,5,307,328,10
CONTROL "Break on Bad Opcode",IDC_DEBUGGER_BREAK_ON_BAD_OP,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,437,132,90,10