mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
MainAndroid: Allow specifying path for savestates
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user