mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-30 06:52:38 +00:00
[Android] Add support for panic alerts to the JNI.
This commit is contained in:
parent
7c04c76a26
commit
d789d8d75f
2 changed files with 46 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue