diff options
author | 2016-08-01 01:17:27 +1000 | |
---|---|---|
committer | 2016-08-01 01:20:03 +1000 | |
commit | a0ce6c3b37050c1a765ae13babb109c729153989 (patch) | |
tree | 8ae40b20d0271d82d5780fd588e73a3f34313b98 /src/emu/render.cpp | |
parent | f127621e13050aad6b455ebfadec5bfdcbdd00d4 (diff) |
fix after pass through the diff
Diffstat (limited to 'src/emu/render.cpp')
-rw-r--r-- | src/emu/render.cpp | 4 |
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); |