hardcoded match for sega genesis video geometry

This commit is contained in:
Vivian Lim 2020-11-29 15:13:45 -08:00
parent c119c5eacd
commit ba90e89cdb
1 changed files with 2 additions and 2 deletions

View File

@ -121,8 +121,8 @@ impl MyEmulator {
video_encoder.set_time_base(Rational::new(1, fps_int));
video_encoder.set_frame_rate(av_info.timing.fps.into());
if av_info.geometry.base_height == 0 && av_info.geometry.base_width == 0 {
av_info.geometry.base_width = 640;
av_info.geometry.base_height = 480;
av_info.geometry.base_width = 320;
av_info.geometry.base_height = 224;
av_info.geometry.aspect_ratio = 4.33;
}
if av_info.timing.sample_rate == 0.0 {