hardcoded match for sega genesis video geometry
This commit is contained in:
parent
c119c5eacd
commit
ba90e89cdb
|
@ -121,8 +121,8 @@ impl MyEmulator {
|
||||||
video_encoder.set_time_base(Rational::new(1, fps_int));
|
video_encoder.set_time_base(Rational::new(1, fps_int));
|
||||||
video_encoder.set_frame_rate(av_info.timing.fps.into());
|
video_encoder.set_frame_rate(av_info.timing.fps.into());
|
||||||
if av_info.geometry.base_height == 0 && av_info.geometry.base_width == 0 {
|
if av_info.geometry.base_height == 0 && av_info.geometry.base_width == 0 {
|
||||||
av_info.geometry.base_width = 640;
|
av_info.geometry.base_width = 320;
|
||||||
av_info.geometry.base_height = 480;
|
av_info.geometry.base_height = 224;
|
||||||
av_info.geometry.aspect_ratio = 4.33;
|
av_info.geometry.aspect_ratio = 4.33;
|
||||||
}
|
}
|
||||||
if av_info.timing.sample_rate == 0.0 {
|
if av_info.timing.sample_rate == 0.0 {
|
||||||
|
|
Loading…
Reference in New Issue