From 7d84852db673849427ddca37d8e5b91a6078ee7c Mon Sep 17 00:00:00 2001 From: AJR Date: Wed, 16 Dec 2020 23:31:53 -0500 Subject: Remove keepaspect and fullstretch members of osd_video_config --- src/osd/modules/osdwindow.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/osd/modules/osdwindow.h') diff --git a/src/osd/modules/osdwindow.h b/src/osd/modules/osdwindow.h index 3fe020c56fe..7126b909d97 100644 --- a/src/osd/modules/osdwindow.h +++ b/src/osd/modules/osdwindow.h @@ -105,6 +105,15 @@ public: return orientation_swap_xy ^ rotation_swap_xy; }; + bool keepaspect() + { + render_target *target = this->target(); + if (target != nullptr) + return target->keepaspect(); + else + return machine().options().keep_aspect(); + } + virtual osd_dim get_size() = 0; virtual osd_monitor_info *monitor() const = 0; @@ -253,9 +262,7 @@ struct osd_video_config // global configuration int windowed; // start windowed? int prescale; // prescale factor - int keepaspect; // keep aspect ratio int numscreens; // number of screens - int fullstretch; // fractional stretch // hardware options int mode; // output mode -- cgit v1.2.3-70-g09d2