From 640fc4d0a08b637732f8ca8df3715ba40f831c61 Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 16 Apr 2021 21:19:28 +0200 Subject: Minor tweaks --- src/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils.c') diff --git a/src/utils.c b/src/utils.c index 7912b876..66804fb2 100644 --- a/src/utils.c +++ b/src/utils.c @@ -372,11 +372,11 @@ void InitAssetManager(AAssetManager *manager, const char *dataPath) internalDataPath = dataPath; } -// Replacement for fopen +// Replacement for fopen() // Ref: https://developer.android.com/ndk/reference/group/asset FILE *android_fopen(const char *fileName, const char *mode) { - if (mode[0] == 'w') // TODO: Test! + if (mode[0] == 'w') { // TODO: fopen() is mapped to android_fopen() that only grants read access // to assets directory through AAssetManager but we want to also be able to -- cgit v1.2.3