mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-26 04:06:32 +00:00
Android: Correctly save in-game settings changes to disk
This commit is contained in:
parent
1d489b3fd5
commit
6f05c40013
3 changed files with 11 additions and 5 deletions
|
@ -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())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue