summaryrefslogtreecommitdiffstats
path: root/src/emu/render.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2016-08-01 01:17:27 +1000
committer Vas Crabb <vas@vastheman.com>2016-08-01 01:20:03 +1000
commita0ce6c3b37050c1a765ae13babb109c729153989 (patch)
tree8ae40b20d0271d82d5780fd588e73a3f34313b98 /src/emu/render.cpp
parentf127621e13050aad6b455ebfadec5bfdcbdd00d4 (diff)
fix after pass through the diff
Diffstat (limited to 'src/emu/render.cpp')
-rw-r--r--src/emu/render.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/render.cpp b/src/emu/render.cpp
index c328238f299..5b15bc4498e 100644
--- a/src/emu/render.cpp
+++ b/src/emu/render.cpp
@@ -1225,8 +1225,8 @@ void render_target::compute_visible_area(INT32 target_width, INT32 target_height
// first compute scale factors to fit the screen
float xscale = (float)target_width / src_width;
float yscale = (float)target_height / src_height;
- float maxxscale = std::max(float(1.0f), float(m_int_overscan? render_round_nearest(xscale) : floor(xscale)));
- float maxyscale = std::max(float(1.0f), float(m_int_overscan? render_round_nearest(yscale) : floor(yscale)));
+ float maxxscale = std::max(1.0f, float(m_int_overscan ? render_round_nearest(xscale) : floor(xscale)));
+ float maxyscale = std::max(1.0f, float(m_int_overscan ? render_round_nearest(yscale) : floor(yscale)));
// now apply desired scale mode and aspect correction
if (m_keepaspect && target_aspect > src_aspect) xscale *= src_aspect / target_aspect * (maxyscale / yscale);