From 70748f3619575a356a855bd24ea3936ec231f541 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Sun, 31 Mar 2019 16:09:14 -0230 Subject: [PATCH] Fix off-centered TIA image on R77. --- src/emucore/FrameBuffer.cxx | 2 ++ src/unix/r77/SettingsR77.cxx | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/emucore/FrameBuffer.cxx b/src/emucore/FrameBuffer.cxx index 748429020..e4341b05c 100644 --- a/src/emucore/FrameBuffer.cxx +++ b/src/emucore/FrameBuffer.cxx @@ -199,6 +199,8 @@ FBInitStatus FrameBuffer::createDisplay(const string& title, // where requesting a window that's too large will probably cause a crash if(myDesktopSize.w < width || myDesktopSize.h < height) return FBInitStatus::FailTooLarge; + + useFullscreen = true; #endif // Set the available video modes for this framebuffer diff --git a/src/unix/r77/SettingsR77.cxx b/src/unix/r77/SettingsR77.cxx index 9ae2ec709..91789238b 100644 --- a/src/unix/r77/SettingsR77.cxx +++ b/src/unix/r77/SettingsR77.cxx @@ -33,6 +33,7 @@ SettingsR77::SettingsR77() setPermanent("vsync", "true"); setPermanent("tia.zoom", "3"); + setPermanent("tia.fsfill", "true"); setPermanent("audio.buffer_size", "6"); setPermanent("audio.enabled", "1"); @@ -47,8 +48,7 @@ SettingsR77::SettingsR77() // TODO - use new argument that differentiates between fullscreen and // fullscreen without aspect correction // Re-add ability to use a specific fullscreen resolution - setPermanent("fullscreen", "false"); // start in 16:9 mode by default - setPermanent("fullres", "1280x720"); + setPermanent("fullscreen", "true"); // start in 16:9 mode by default setPermanent("romdir", "/mnt/games"); setPermanent("snapsavedir", "/mnt/stella/snapshots");