mirror of
https://github.com/libretro/mame2003-plus-libretro.git
synced 2025-02-26 03:05:39 +00:00
Merge pull request #53 from dankcushions/aspectratio
Reverts previous aspect ratio fix and adds rotation correction. Now b…
This commit is contained in:
commit
fda911a31e
@ -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