mirror of https://github.com/stella-emu/stella.git
minor update to PF debug colors
This commit is contained in:
parent
2504f8600c
commit
ce78129297
Binary file not shown.
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
|
@ -255,13 +255,13 @@ uInt8 Playfield::getColor() const
|
|||
}
|
||||
else
|
||||
{
|
||||
if(myX >= TIAConstants::H_PIXEL - 16)
|
||||
return myDebugColor - 2; // PF0
|
||||
if(myX >= TIAConstants::H_PIXEL - 48)
|
||||
if(myX < TIAConstants::H_PIXEL / 2 + 32)
|
||||
return myDebugColor - 2; // PF2
|
||||
if(myX < TIAConstants::H_PIXEL / 2 + 64)
|
||||
return myDebugColor; // PF1
|
||||
}
|
||||
}
|
||||
return myDebugColor + 2; // PF2
|
||||
return myDebugColor + 2; // PF2/PF0
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -297,7 +297,8 @@ void DeveloperDialog::addTiaTab(const GUI::Font& font)
|
|||
wid.push_back(myPFColorWidget);
|
||||
|
||||
myPFScoreWidget = new CheckboxWidget(myTab, font, myPFColorWidget->getRight() + +fontWidth() * 2.5,
|
||||
ypos + 1, "Score");
|
||||
ypos + 1, "Score color");
|
||||
myPFScoreWidget->setToolTip("In score mode, playfield color gets updated one pixel early.");
|
||||
wid.push_back(myPFScoreWidget);
|
||||
ypos += lineHeight + VGAP * 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue