From 5736f93fcd79de6fbb8fdc04fa4ddf6b74050a1f Mon Sep 17 00:00:00 2001 From: Christian Speckner Date: Mon, 4 Dec 2017 00:25:03 +0100 Subject: [PATCH] Add two "grace lines" of black when autodetecting ystart. --- src/emucore/Console.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/emucore/Console.cxx b/src/emucore/Console.cxx index 763fb78dc..38e69324f 100644 --- a/src/emucore/Console.cxx +++ b/src/emucore/Console.cxx @@ -69,6 +69,10 @@ #include "Console.hxx" +namespace { + constexpr uInt8 YSTART_EXTRA = 2; +} + // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Console::Console(OSystem& osystem, unique_ptr& cart, const Properties& props) @@ -245,7 +249,7 @@ void Console::autodetectYStart() myTIA->setFrameManager(myFrameManager.get()); - myAutodetectedYstart = ystartDetector.detectedYStart(); + myAutodetectedYstart = ystartDetector.detectedYStart() - YSTART_EXTRA; // Don't forget to reset the SC progress bars again myOSystem.settings().setValue("fastscbios", fastscbios);