From 5e29698ad5c55f40622aef586691d94c00efcbbb Mon Sep 17 00:00:00 2001 From: LibretroAdmin <105389611+LibretroAdmin@users.noreply.github.com> Date: Fri, 31 Jul 2026 15:49:44 +0200 Subject: [PATCH] =?UTF-8?q?Revert=20"Revert=20"Fix=20initial=20video=20geo?= =?UTF-8?q?metry=20for=20non-full=20border=20modes=20(#170)"=20=E2=80=A6"?= =?UTF-8?q?=20(#172)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 0cbecd151dc38b81811bbe5a82372b9fa549a14f. --- .gitignore | 1 + src/libretro.c | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 678bc5e..34c83a3 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ fuse/roms/*.h fuse/lib/compressed/*.h libspectrum/*.h version.c +.vscode/pro-deployer.json diff --git a/src/libretro.c b/src/libretro.c index 570201b..062c97d 100644 --- a/src/libretro.c +++ b/src/libretro.c @@ -1963,10 +1963,9 @@ void retro_set_input_poll(retro_input_poll_t cb) void retro_get_system_av_info(struct retro_system_av_info *info) { - // Here we always use the "hard" resolution to accomodate output with *and* - // without the video border - info->geometry.base_width = hard_width; - info->geometry.base_height = hard_height; + // Report the currently visible output geometry. + info->geometry.base_width = soft_width; + info->geometry.base_height = soft_height; info->geometry.max_width = MAX_WIDTH; info->geometry.max_height = MAX_HEIGHT;