summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/emuopts.h
diff options
context:
space:
mode:
author Antonio Giner <calamity15khz@gmail.com>2016-08-27 15:25:32 +0200
committer Antonio Giner <calamity15khz@gmail.com>2016-08-27 22:12:29 +0200
commitaa326bd8e6b98cb96fed1c668b61db7a4e74dc33 (patch)
tree4e1d007b9ec22169db9b19e5ac468f8bff286a51 /src/emu/emuopts.h
parenta976bc2a2ab37bd98b14a94e95307558bc1647f8 (diff)
Implement new option -autostretchxy, to automatically apply
-unevenstretchx or -unevenstretchy based on source native orientation.
Diffstat (limited to 'src/emu/emuopts.h')
-rw-r--r--src/emu/emuopts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/emuopts.h b/src/emu/emuopts.h
index ed9cbc8851c..5275b65614f 100644
--- a/src/emu/emuopts.h
+++ b/src/emu/emuopts.h
@@ -80,6 +80,7 @@
#define OPTION_UNEVENSTRETCH "unevenstretch"
#define OPTION_UNEVENSTRETCHX "unevenstretchx"
#define OPTION_UNEVENSTRETCHY "unevenstretchy"
+#define OPTION_AUTOSTRETCHXY "autostretchxy"
#define OPTION_INTOVERSCAN "intoverscan"
#define OPTION_INTSCALEX "intscalex"
#define OPTION_INTSCALEY "intscaley"
@@ -267,6 +268,7 @@ public:
bool uneven_stretch() const { return bool_value(OPTION_UNEVENSTRETCH); }
bool uneven_stretch_x() const { return bool_value(OPTION_UNEVENSTRETCHX); }
bool uneven_stretch_y() const { return bool_value(OPTION_UNEVENSTRETCHY); }
+ bool auto_stretch_xy() const { return bool_value(OPTION_AUTOSTRETCHXY); }
bool int_overscan() const { return bool_value(OPTION_INTOVERSCAN); }
int int_scale_x() const { return int_value(OPTION_INTSCALEX); }
int int_scale_y() const { return int_value(OPTION_INTSCALEY); }