mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
Move variables to platform_android.c
This commit is contained in:
parent
e16e55cb9b
commit
2161b03cf0
@ -17,9 +17,6 @@
|
|||||||
|
|
||||||
#include "platform_android.h"
|
#include "platform_android.h"
|
||||||
|
|
||||||
struct android_app *g_android;
|
|
||||||
struct android_app_userdata *g_android_userdata;
|
|
||||||
|
|
||||||
static void free_saved_state(struct android_app* android_app)
|
static void free_saved_state(struct android_app* android_app)
|
||||||
{
|
{
|
||||||
pthread_mutex_lock(&android_app->mutex);
|
pthread_mutex_lock(&android_app->mutex);
|
||||||
|
@ -29,6 +29,9 @@
|
|||||||
|
|
||||||
static pthread_key_t thread_key;
|
static pthread_key_t thread_key;
|
||||||
|
|
||||||
|
struct android_app *g_android;
|
||||||
|
struct android_app_userdata *g_android_userdata;
|
||||||
|
|
||||||
JNIEnv *jni_thread_getenv(void)
|
JNIEnv *jni_thread_getenv(void)
|
||||||
{
|
{
|
||||||
JNIEnv *env;
|
JNIEnv *env;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user