[libretro] keep base height unchanged in double-field interlaced mode to bypass integer scaling limitations

This commit is contained in:
ekeeke 2017-12-31 12:26:07 +01:00 committed by GitHub
parent 902dc4c4c0
commit 3463f2f724
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1978,7 +1978,7 @@ void retro_get_system_info(struct retro_system_info *info)
void retro_get_system_av_info(struct retro_system_av_info *info) void retro_get_system_av_info(struct retro_system_av_info *info)
{ {
info->geometry.base_width = vwidth; info->geometry.base_width = vwidth;
info->geometry.base_height = vheight; info->geometry.base_height = bitmap.viewport.h + (2 × bitmap.viewport.y);
info->geometry.max_width = 720; info->geometry.max_width = 720;
info->geometry.max_height = 576; info->geometry.max_height = 576;
info->geometry.aspect_ratio = vaspect_ratio; info->geometry.aspect_ratio = vaspect_ratio;