mirror of
https://github.com/libretro/RetroArch
synced 2025-03-15 04:21:31 +00:00
Do not always force 4.0 / 3 aspect ratio for output.
This commit is contained in:
parent
bc999e72fa
commit
8fbfdee011
6
ssnes.c
6
ssnes.c
@ -889,7 +889,6 @@ static void init_recording(void)
|
||||
.samplerate = 32000,
|
||||
.filename = g_extern.record_path,
|
||||
.fps = psnes_get_region() == SNES_REGION_NTSC ? ntsc_fps : pal_fps,
|
||||
.aspect_ratio = 4.0 / 3,
|
||||
.rgb32 = false,
|
||||
};
|
||||
|
||||
@ -904,6 +903,11 @@ static void init_recording(void)
|
||||
params.out_height = 448;
|
||||
}
|
||||
|
||||
if (g_settings.video.force_aspect)
|
||||
params.aspect_ratio = g_settings.video.aspect_ratio;
|
||||
else
|
||||
params.aspect_ratio = (float)params.out_width / params.out_height;
|
||||
|
||||
if (g_settings.video.post_filter_record && g_extern.filter.active)
|
||||
{
|
||||
g_extern.filter.psize(¶ms.out_width, ¶ms.out_height);
|
||||
|
Loading…
x
Reference in New Issue
Block a user