mirror of
https://github.com/love2d/love.git
synced 2026-08-13 17:10:54 +02:00
Pass pointer of PHYSFS_AndroidInit struct in Android when initializing PhysFS.
This commit is contained in:
@@ -804,6 +804,15 @@ const char *getCRequirePath()
|
||||
return path;
|
||||
}
|
||||
|
||||
const char *getArg0()
|
||||
{
|
||||
static PHYSFS_AndroidInit androidInit = {
|
||||
SDL_AndroidGetJNIEnv(),
|
||||
SDL_AndroidGetActivity()
|
||||
};
|
||||
return (const char *) &androidInit;
|
||||
}
|
||||
|
||||
} // android
|
||||
} // love
|
||||
|
||||
|
||||
Reference in New Issue
Block a user