mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-30 23:12:40 +00:00
MainAndroid: Allow specifying path for savestates
This commit is contained in:
parent
1df69c5750
commit
d9dd210739
2 changed files with 36 additions and 0 deletions
|
@ -297,6 +297,13 @@ public final class NativeLibrary
|
|||
*/
|
||||
public static native void SaveState(int slot);
|
||||
|
||||
/**
|
||||
* Saves a game state to the specified path.
|
||||
*
|
||||
* @param path The path to save state to.
|
||||
*/
|
||||
public static native void SaveStateAs(String path);
|
||||
|
||||
/**
|
||||
* Loads a game state from the slot number.
|
||||
*
|
||||
|
@ -304,6 +311,13 @@ public final class NativeLibrary
|
|||
*/
|
||||
public static native void LoadState(int slot);
|
||||
|
||||
/**
|
||||
* Loads a game state from the specified path.
|
||||
*
|
||||
* @param path The path to load state from.
|
||||
*/
|
||||
public static native void LoadStateAs(String path);
|
||||
|
||||
/**
|
||||
* Sets the current working user directory
|
||||
* If not set, it auto-detects a location
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue