Fix off-centered TIA image on R77.

This commit is contained in:
Stephen Anthony 2019-03-31 16:09:14 -02:30
parent 96e93c7171
commit 70748f3619
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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");