mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
filesystem: add XASH_ANDROID_ASSETS macro for aassets switch
This commit is contained in:
@@ -15,7 +15,7 @@ GNU General Public License for more details.
|
||||
|
||||
#include "port.h"
|
||||
|
||||
#if XASH_ANDROID
|
||||
#if XASH_ANDROID_ASSETS
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
@@ -328,4 +328,4 @@ void FS_InitAndroid( void )
|
||||
jni.getAssets = (*jni.env)->GetMethodID( jni.env, jni.activity_class, "getAssets", "(Z)Landroid/content/res/AssetManager;" );
|
||||
}
|
||||
|
||||
#endif // XASH_ANDROID
|
||||
#endif // XASH_ANDROID_ASSETS
|
||||
|
||||
Reference in New Issue
Block a user