Revert "Revert "Fix initial video geometry for non-full border modes (#170)" …" (#172)

This reverts commit 0cbecd151d.
This commit is contained in:
LibretroAdmin authored and GitHub committed 2026-07-31 15:49:44 +02:00
1 parent a658902356
commit 5e29698ad5
2 files changed
+4 -4

No files matched your search

+1
View File
@@ -8,3 +8,4 @@ fuse/roms/*.h
fuse/lib/compressed/*.h
libspectrum/*.h
version.c
.vscode/pro-deployer.json
+3 -4
View File
@@ -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;