|
@@ -806,10 +806,9 @@ const char *getCRequirePath()
|
|
|
|
|
|
const char *getArg0()
|
|
const char *getArg0()
|
|
{
|
|
{
|
|
- static PHYSFS_AndroidInit androidInit = {
|
|
|
|
- SDL_AndroidGetJNIEnv(),
|
|
|
|
- SDL_AndroidGetActivity()
|
|
|
|
- };
|
|
|
|
|
|
+ static PHYSFS_AndroidInit androidInit = {nullptr, nullptr};
|
|
|
|
+ androidInit.jnienv = SDL_AndroidGetJNIEnv();
|
|
|
|
+ androidInit.context = SDL_AndroidGetActivity();
|
|
return (const char *) &androidInit;
|
|
return (const char *) &androidInit;
|
|
}
|
|
}
|
|
|
|
|