summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/emuopts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/emuopts.h')
-rw-r--r--src/emu/emuopts.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/emu/emuopts.h b/src/emu/emuopts.h
index 0512924dd59..3e80f79a065 100644
--- a/src/emu/emuopts.h
+++ b/src/emu/emuopts.h
@@ -98,6 +98,11 @@ enum
#define OPTION_SPEED "speed"
#define OPTION_REFRESHSPEED "refreshspeed"
+// core render options
+#define OPTION_KEEPASPECT "keepaspect"
+#define OPTION_INTSCALEX "intscalex"
+#define OPTION_INTSCALEY "intscaley"
+
// core rotation options
#define OPTION_ROTATE "rotate"
#define OPTION_ROR "ror"
@@ -282,6 +287,11 @@ public:
float speed() const { return float_value(OPTION_SPEED); }
bool refresh_speed() const { return m_refresh_speed; }
+ // core render options
+ bool keep_aspect() const { return bool_value(OPTION_KEEPASPECT); }
+ int int_scale_x() const { return int_value(OPTION_INTSCALEX); }
+ int int_scale_y() const { return int_value(OPTION_INTSCALEY); }
+
// core rotation options
bool rotate() const { return bool_value(OPTION_ROTATE); }
bool ror() const { return bool_value(OPTION_ROR); }