Skip to content

Commit

Permalink
Increase Max Depth setting
Browse files Browse the repository at this point in the history
  • Loading branch information
oneup03 committed Mar 15, 2024
1 parent 5ecf0b0 commit daaa44b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/citra_qt/configuration/configure_enhancements.ui
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
<number>0</number>
</property>
<property name="maximum">
<number>100</number>
<number>255</number>
</property>
<property name="value">
<number>0</number>
Expand Down
2 changes: 1 addition & 1 deletion src/citra_qt/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ void GMainWindow::InitializeHotkeys() {
});
connect_shortcut(QStringLiteral("Increase 3D Factor"), [this] {
const auto factor_3d = Settings::values.factor_3d.GetValue();
if (factor_3d < 100) {
if (factor_3d < 255) {
if (factor_3d % FACTOR_3D_STEP != 0) {
Settings::values.factor_3d =
factor_3d + FACTOR_3D_STEP - (factor_3d % FACTOR_3D_STEP);
Expand Down

0 comments on commit daaa44b

Please sign in to comment.