aboutsummaryrefslogtreecommitdiff
path: root/src/core/cpu_core_manager.cpp
diff options
context:
space:
mode:
authorfearlessTobi <thm.frey@gmail.com>2019-02-16 17:05:27 +0100
committerfearlessTobi <thm.frey@gmail.com>2019-03-02 17:43:19 +0100
commitaba454bcacd087bbe1d1a986e6f9f0c3924a4bfc (patch)
treeeed24ccb5ca2c73cc22fac036eef3ea281036048 /src/core/cpu_core_manager.cpp
parent52911748f11affc3487354048b49087669bc1e50 (diff)
citra_qt/main: make SPEED_LIMIT_STEP static constexpr
MSVC does not seem to like using constexpr values in a lambda that were declared outside of it. Previously on MSVC build the hotkeys to inc-/decrease the speed limit were not working correctly because in the lambda the SPEED_LIMIT_STEP had garbage values. After googling around a bit I found: https://github.com/codeplaysoftware/computecpp-sdk/issues/95 which seems to be a similar issue. Trying the suggested fix to make the variable static constexpr also fixes the bug here.
Diffstat (limited to 'src/core/cpu_core_manager.cpp')
0 files changed, 0 insertions, 0 deletions