mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-04-18 16:46:58 -04:00
LauncherPrefs: Fix incorrect fsr1 setting
This commit is contained in:
@@ -236,7 +236,7 @@ public class LauncherPreferences {
|
||||
// Using .getInt() leads to a class cast exception and using integer-arrays will just crash the layout/fragment.
|
||||
MGConfigJson.put("enableANGLE", Integer.parseInt(DEFAULT_PREF.getString("mg_renderer_setting_angle", "0")));
|
||||
MGConfigJson.put("enableNoError", Integer.parseInt(DEFAULT_PREF.getString("mg_renderer_setting_errorSetting", "0")));
|
||||
MGConfigJson.put("enableFSR", Integer.parseInt(DEFAULT_PREF.getString("mg_renderer_setting_fsr", "0")));
|
||||
MGConfigJson.put("fsr1Setting", Integer.parseInt(DEFAULT_PREF.getString("mg_renderer_setting_fsr", "0")));
|
||||
|
||||
// These guys are SwitchPreferences so they get special treatment, they need to be converted to ints
|
||||
int gl43exts = DEFAULT_PREF.getBoolean("mg_renderer_setting_gl43ext", false) ? 1 : 0;
|
||||
|
||||
Reference in New Issue
Block a user