mirror of https://github.com/stella-emu/stella.git
adjust ystart for NTSC and PAL
adjust TIA sizes in debugger
This commit is contained in:
parent
792cbb4ffa
commit
1ade839c0b
|
@ -658,8 +658,8 @@ void DebuggerDialog::addRomArea()
|
|||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
Common::Rect DebuggerDialog::getTiaBounds() const
|
||||
{
|
||||
// The area showing the TIA image (NTSC and PAL supported, up to 260 lines)
|
||||
return Common::Rect(0, 0, 320, std::max(260, int(_h * 0.35)));
|
||||
// The area showing the TIA image (NTSC and PAL supported, up to 274 lines without scaling)
|
||||
return Common::Rect(0, 0, 320, std::max(274, int(_h * 0.35)));
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
|
@ -41,7 +41,7 @@ TiaZoomWidget::TiaZoomWidget(GuiObject* boss, const GUI::Font& font,
|
|||
|
||||
// Use all available space, up to the maximum bounds of the TIA image
|
||||
_w = std::min(w, 320);
|
||||
_h = std::min(h, 260);
|
||||
_h = std::min(h, 274);
|
||||
|
||||
addFocusWidget(this);
|
||||
|
||||
|
|
|
@ -28,12 +28,12 @@ enum Metrics: uInt32 {
|
|||
vsync = 3,
|
||||
frameSizeNTSC = 262,
|
||||
frameSizePAL = 312,
|
||||
baseHeightNTSC = 228,
|
||||
baseHeightPAL = 274,
|
||||
baseHeightNTSC = 228, // 217..239
|
||||
baseHeightPAL = 274, // 260..288
|
||||
maxLinesVsync = 50,
|
||||
initialGarbageFrames = TIAConstants::initialGarbageFrames,
|
||||
ystartNTSC = 16,
|
||||
ystartPAL = 19
|
||||
ystartNTSC = 23,
|
||||
ystartPAL = 32
|
||||
};
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
Loading…
Reference in New Issue