Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Commit ce00d7f

Browse files
committed
[README/MG]: Add credits to MobileGlues
1 parent 0846298 commit ce00d7f

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ PojavLauncher is licensed under [GNU LGPLv3](https://github.com/PojavLauncherTea
128128
* [Boardwalk](https://github.com/zhuowei/Boardwalk) (JVM Launcher): Unknown License/[Apache License 2.0](https://github.com/zhuowei/Boardwalk/blob/master/LICENSE) or GNU GPLv2.
129129
* Android Support Libraries: [Apache License 2.0](https://android.googlesource.com/platform/prebuilts/maven_repo/android/+/master/NOTICE.txt).
130130
* [GL4ES](https://github.com/PojavLauncherTeam/gl4es): [MIT License](https://github.com/ptitSeb/gl4es/blob/master/LICENSE).
131+
* [MobileGlues](https://github.com/MobileGL-Dev/MobileGlues): [LGPL-2.1 License](https://github.com/MobileGL-Dev/MobileGlues/blob/dev-es/LICENSE)
131132
* [OpenJDK](https://github.com/PojavLauncherTeam/openjdk-multiarch-jdk8u): [GNU GPLv2 License](https://openjdk.java.net/legal/gplv2+ce.html).
132133
* [LWJGL3](https://github.com/PojavLauncherTeam/lwjgl3): [BSD-3 License](https://github.com/LWJGL/lwjgl3/blob/master/LICENSE.md).
133134
* [LWJGLX](https://github.com/PojavLauncherTeam/lwjglx) (LWJGL2 API compatibility layer for LWJGL3): unknown license.

app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/prefs/LauncherPreferences.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ public static void writeMGRendererSettings() throws IOException {
225225

226226
// We need to get the string and convert it to int because the android:defaultValues only takes in string-arrays.
227227
// Using .getInt() leads to a class cast exception and using integer-arrays will just crash the layout/fragment.
228-
MGConfigJson.put("enabledAngle", Integer.parseInt(DEFAULT_PREF.getString("mg_renderer_setting_angle", "0")));
228+
MGConfigJson.put("enableANGLE", Integer.parseInt(DEFAULT_PREF.getString("mg_renderer_setting_angle", "0")));
229229
MGConfigJson.put("enableNoError", Integer.parseInt(DEFAULT_PREF.getString("mg_renderer_setting_errorSetting", "0")));
230230

231231
// These guys are SwitchPreferences so they get special treatment, they need to be converted to ints

app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/prefs/screens/LauncherPreferenceRendererSettingsFragment.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ public void afterTextChanged(Editable editable) {
3737
public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {
3838
// This is just to handle the summary not updating when its above max int value
3939
// Horrible I know.
40-
// if (!editText.getText().toString().isEmpty()){
41-
// editText.setText(String.valueOf("0"));
42-
// }
40+
if (editText.getText().toString().isEmpty()){
41+
editText.setText(String.valueOf("0"));
42+
}
4343
if (Long.parseLong(editText.getText().toString()) > Integer.MAX_VALUE){
4444
editText.setError("Too big! Setting to maximum value");
4545
editText.setText(String.valueOf(Integer.MAX_VALUE));

0 commit comments

Comments
 (0)