|
@@ -54,7 +54,7 @@ double getScreenScale()
|
|
|
|
|
|
|
|
const char* getSelectedGameFile()
|
|
const char* getSelectedGameFile()
|
|
|
{
|
|
{
|
|
|
- static const char *path;
|
|
|
|
|
|
|
+ static const char *path = NULL;
|
|
|
|
|
|
|
|
if (!path) {
|
|
if (!path) {
|
|
|
JNIEnv *env = (JNIEnv*) SDL_AndroidGetJNIEnv();
|
|
JNIEnv *env = (JNIEnv*) SDL_AndroidGetJNIEnv();
|