diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-06-06 15:56:14 -0400 |
|---|---|---|
| committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-06-06 15:56:14 -0400 |
| commit | 03fad5ebe86309cf22732ec9b8d3caf3da63f7b9 (patch) | |
| tree | c35c267bb682277c30e491f1e1138c27048ac350 /src/yuzu/main.cpp | |
| parent | 1b64fae912396ebdd79714eaa6d5d141eb942fa0 (diff) | |
yuzu/frontend: Remove internal resolution option
Diffstat (limited to 'src/yuzu/main.cpp')
| -rw-r--r-- | src/yuzu/main.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 270cccc77..4119d7907 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -689,10 +689,7 @@ void GMainWindow::InitializeHotkeys() { Settings::values.use_frame_limit = !Settings::values.use_frame_limit; UpdateStatusBar(); }); - // TODO: Remove this comment/static whenever the next major release of - // MSVC occurs and we make it a requirement (see: - // https://developercommunity.visualstudio.com/content/problem/93922/constexprs-are-trying-to-be-captured-in-lambda-fun.html) - static constexpr u16 SPEED_LIMIT_STEP = 5; + constexpr u16 SPEED_LIMIT_STEP = 5; connect(hotkey_registry.GetHotkey(main_window, QStringLiteral("Increase Speed Limit"), this), &QShortcut::activated, this, [&] { if (Settings::values.frame_limit < 9999 - SPEED_LIMIT_STEP) { |
