mirror of
https://github.com/libretro/RetroArch
synced 2025-02-11 15:40:28 +00:00
(Android) Get rid of JNI_OnLoad - unused and unneeded
This commit is contained in:
parent
20f679d201
commit
3f279a2d5c
@ -17,13 +17,6 @@ public final class RetroActivity extends NativeActivity
|
||||
private long lastTimestamp = 0;
|
||||
private SurfaceTexture texture;
|
||||
|
||||
// Static constructor
|
||||
static
|
||||
{
|
||||
Log.i("RetroActivity", "Creating RetroActivity");
|
||||
System.loadLibrary("retroarch-activity");
|
||||
}
|
||||
|
||||
public void onCameraStart()
|
||||
{
|
||||
Log.i("RetroActivity", "onCameraStart");
|
||||
|
@ -375,16 +375,6 @@ static void system_shutdown(bool unused)
|
||||
exit(0);
|
||||
}
|
||||
|
||||
jint JNI_OnLoad(JavaVM* vm, void* reserved)
|
||||
{
|
||||
RARCH_LOG("JNI_OnLoad.\n");
|
||||
JNIEnv* env;
|
||||
if ((*vm)->GetEnv(vm, (void**) &env, JNI_VERSION_1_6) != JNI_OK)
|
||||
return -1;
|
||||
|
||||
return JNI_VERSION_1_6;
|
||||
}
|
||||
|
||||
const frontend_ctx_driver_t frontend_ctx_android = {
|
||||
get_environment_settings, /* get_environment_settings */
|
||||
system_init, /* init */
|
||||
|
Loading…
x
Reference in New Issue
Block a user