Skip to content

Commit 593ff33

Browse files
Change MG
1 parent a0630cd commit 593ff33

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public static void writeMGRendererSettings() throws IOException {
244244
MGConfigMap.put("enableExtComputeShader", Integer.parseInt(MG_EXT_CS));
245245
MGConfigMap.put("maxGlslCacheSize", Long.parseLong(MG_GLSL_CACHE_SIZE));
246246
MGConfigMap.put("multidrawMode", Integer.parseInt(MG_MULTIDRAWMODE_OPTION));
247-
File configFile = new File(Tools.DIR_DATA + "/MobileGlues", "config.json");
247+
File configFile = new File(DIR_GAME_HOME + "/MobileGlues", "config.json");
248248
FileUtils.ensureParentDirectory(configFile);
249249
try {
250250
Tools.write(configFile.getAbsolutePath(),Tools.GLOBAL_GSON.toJson(MGConfigMap));
@@ -254,4 +254,4 @@ public static void writeMGRendererSettings() throws IOException {
254254
throw new RuntimeException(e);
255255
}
256256
}
257-
}
257+
}

0 commit comments

Comments
 (0)