(Android) Loads libretro library now but still SEGV at unspecified
location
This commit is contained in:
parent
74e4ae7286
commit
f6e91732a1
|
@ -58,6 +58,8 @@ JNIEXPORT jint JNICALL JNI_OnLoad( JavaVM *vm, void *pvt)
|
|||
|
||||
snprintf(default_paths.config_file, sizeof(default_paths.config_file), "/mnt/extsd/retroarch.cfg");
|
||||
|
||||
rarch_init_msg_queue();
|
||||
|
||||
rarch_settings_set_default();
|
||||
//rarch_input_set_controls_default(input);
|
||||
rarch_config_load(default_paths.config_file, path_prefix, extension, find_libretro_file);
|
||||
|
@ -68,6 +70,8 @@ JNIEXPORT jint JNICALL JNI_OnLoad( JavaVM *vm, void *pvt)
|
|||
video_gl.start();
|
||||
driver.video = &video_gl;
|
||||
|
||||
RARCH_LOG("Reached end of JNI_OnLoad.\n" );
|
||||
|
||||
return JNI_VERSION_1_2;
|
||||
}
|
||||
|
||||
|
|
|
@ -12,8 +12,10 @@ import com.retroarch.R.layout;
|
|||
import com.retroarch.rruntime;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.pm.ApplicationInfo;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.os.Bundle;
|
||||
import android.os.Environment;
|
||||
import android.view.KeyEvent;
|
||||
|
|
Loading…
Reference in New Issue