From e06997dd4cdd360db0941fbd24e85e691864e6c2 Mon Sep 17 00:00:00 2001 From: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Mon, 16 Sep 2024 00:26:35 -0700 Subject: [PATCH] Correct aspect ratio for Stella --- .../Consoles/Atari/Stella/Stella.IVideoProvider.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BizHawk.Emulation.Cores/Consoles/Atari/Stella/Stella.IVideoProvider.cs b/src/BizHawk.Emulation.Cores/Consoles/Atari/Stella/Stella.IVideoProvider.cs index dc730817b1..91a625b75a 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Atari/Stella/Stella.IVideoProvider.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Atari/Stella/Stella.IVideoProvider.cs @@ -7,9 +7,9 @@ namespace BizHawk.Emulation.Cores.Atari.Stella { public int[] GetVideoBuffer() => _vidBuff; - public int VirtualWidth => 160; + public int VirtualWidth => Region == DisplayType.NTSC ? 275 : 320; - public int VirtualHeight => 192; + public int VirtualHeight => BufferHeight; public int BufferWidth { get; private set; }