diff options
author | 2016-03-15 00:25:51 +0100 | |
---|---|---|
committer | 2016-03-15 01:04:37 +0100 | |
commit | da18057256726be42d096a427c3f2ebc4fd45546 (patch) | |
tree | 8cefc40204d05896bde43d40934ee557eb4c67e8 /src/emu/emuopts.cpp | |
parent | eb3459137c2688d7760fd9df4f2abee1c1554823 (diff) |
Implement integer scaling in core renderer [Calamity]
Diffstat (limited to 'src/emu/emuopts.cpp')
-rw-r--r-- | src/emu/emuopts.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/emu/emuopts.cpp b/src/emu/emuopts.cpp index f8127e28dbb..12d75930f40 100644 --- a/src/emu/emuopts.cpp +++ b/src/emu/emuopts.cpp @@ -88,6 +88,12 @@ const options_entry emu_options::s_option_entries[] = { OPTION_SPEED "(0.01-100)", "1.0", OPTION_FLOAT, "controls the speed of gameplay, relative to realtime; smaller numbers are slower" }, { OPTION_REFRESHSPEED ";rs", "0", OPTION_BOOLEAN, "automatically adjusts the speed of gameplay to keep the refresh rate lower than the screen" }, + // render options + { nullptr, nullptr, OPTION_HEADER, "CORE RENDER OPTIONS" }, + { OPTION_KEEPASPECT ";ka", "1", OPTION_BOOLEAN, "constrain to the proper aspect ratio" }, + { OPTION_INTSCALEX ";sx", "0", OPTION_INTEGER, "set horizontal scale factor for integer scaled views."}, + { OPTION_INTSCALEY ";sy", "0", OPTION_INTEGER, "set vertical scale factor for integer scaled views."}, + // rotation options { nullptr, nullptr, OPTION_HEADER, "CORE ROTATION OPTIONS" }, { OPTION_ROTATE, "1", OPTION_BOOLEAN, "rotate the game screen according to the game's orientation needs it" }, |