mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Android: Correctly save in-game settings changes to disk
This commit is contained in:
@ -3,8 +3,9 @@ package org.dolphinemu.dolphinemu.features.settings.model;
|
||||
public class NativeConfig
|
||||
{
|
||||
public static final int LAYER_BASE_OR_CURRENT = 0;
|
||||
public static final int LAYER_LOCAL_GAME = 1;
|
||||
public static final int LAYER_ACTIVE = 2;
|
||||
public static final int LAYER_BASE = 1;
|
||||
public static final int LAYER_LOCAL_GAME = 2;
|
||||
public static final int LAYER_ACTIVE = 3;
|
||||
|
||||
public static native boolean isSettingSaveable(String file, String section, String key);
|
||||
|
||||
|
@ -200,7 +200,7 @@ public class Settings implements Closeable
|
||||
SettingsFile.saveFile(entry.getKey(), entry.getValue(), view);
|
||||
}
|
||||
|
||||
NativeConfig.save(NativeConfig.LAYER_BASE_OR_CURRENT);
|
||||
NativeConfig.save(NativeConfig.LAYER_BASE);
|
||||
|
||||
if (!NativeLibrary.IsRunning())
|
||||
{
|
||||
|
Reference in New Issue
Block a user