mirror of
https://github.com/libretro/mame2003-plus-libretro.git
synced 2025-02-26 11:15:34 +00:00
Reverts previous aspect ratio fix and adds rotation correction. Now both horizontal and vertical games are in the correct DAR.
This commit is contained in:
parent
b7e3448714
commit
d246d02c12
@ -171,7 +171,7 @@ void retro_get_system_av_info(struct retro_system_av_info *info)
|
||||
info->geometry.base_height = height;
|
||||
info->geometry.max_width = width;
|
||||
info->geometry.max_height = height;
|
||||
info->geometry.aspect_ratio = 0;
|
||||
info->geometry.aspect_ratio = rotated ? (float)videoConfig.aspect_y / (float)videoConfig.aspect_x : (float)videoConfig.aspect_x / (float)videoConfig.aspect_y;
|
||||
info->timing.fps = Machine->drv->frames_per_second;
|
||||
info->timing.sample_rate = sample_rate;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user