mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 03:24:59 +00:00
Merge pull request #11512 from JosJuice/android-mem2-crash
Android: Fix crash when attempting to change MEM2 size
This commit is contained in:
commit
071ee3d85e
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ public final class SettingsAdapter extends RecyclerView.Adapter<SettingViewHolde
|
|||
slider.setValue(mSeekbarProgress);
|
||||
|
||||
// Sliders can get frustrating to use with a small step size and large ranges
|
||||
int maxRange = item.getMax();
|
||||
int maxRange = item.getMax() - item.getMin();
|
||||
if (maxRange <= 100)
|
||||
{
|
||||
slider.setStepSize(1);
|
||||
|
|
Loading…
Add table
Reference in a new issue