mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
[Android] Add support for panic alerts to the JNI.
This commit is contained in:
@ -217,6 +217,21 @@ public final class NativeLibrary
|
||||
*/
|
||||
public static native void WriteProfileResults();
|
||||
|
||||
/**
|
||||
* @return If we have an alert
|
||||
*/
|
||||
public static native boolean HasAlertMsg();
|
||||
|
||||
/**
|
||||
* @return The alert string
|
||||
*/
|
||||
public static native String GetAlertMsg();
|
||||
|
||||
/**
|
||||
* Clears event in the JNI so we can continue onward
|
||||
*/
|
||||
public static native void ClearAlertMsg();
|
||||
|
||||
/** Native EGL functions not exposed by Java bindings **/
|
||||
public static native void eglBindAPI(int api);
|
||||
|
||||
|
Reference in New Issue
Block a user