Allow game window to resize on-the-fly when enabling/disabling borders
This commit is contained in:
parent
6bdd6d1b22
commit
72d0725bac
|
@ -581,8 +581,8 @@ void retro_get_system_av_info(struct retro_system_av_info *info)
|
|||
|
||||
if (type == IMAGE_GB) {
|
||||
aspect = !gbBorderOn ? (10.0 / 9.0) : (8.0 / 7.0);
|
||||
maxWidth = sgbWidth;
|
||||
maxHeight = sgbHeight;
|
||||
maxWidth = !gbBorderOn ? gbWidth : sgbWidth;
|
||||
maxHeight = !gbBorderOn ? gbHeight : sgbHeight;
|
||||
}
|
||||
|
||||
info->geometry.base_width = systemWidth;
|
||||
|
|
Loading…
Reference in New Issue