src/core/android/SDL_android.cpp
changeset 6335 fbb84f5b985f
parent 6330 0fa55ca2efdd
child 6354 17840f487124
equal deleted inserted replaced
6334:85b8778a05c2 6335:fbb84f5b985f
   539     }
   539     }
   540 
   540 
   541     jstring fileNameJString = mEnv->NewStringUTF(fileName);
   541     jstring fileNameJString = mEnv->NewStringUTF(fileName);
   542     ctx->hidden.androidio.fileNameRef = mEnv->NewGlobalRef(fileNameJString);
   542     ctx->hidden.androidio.fileNameRef = mEnv->NewGlobalRef(fileNameJString);
   543     ctx->hidden.androidio.inputStreamRef = NULL;
   543     ctx->hidden.androidio.inputStreamRef = NULL;
       
   544     ctx->hidden.androidio.readableByteChannelRef = NULL;
       
   545     ctx->hidden.androidio.readMethod = NULL;
   544 
   546 
   545     return Android_JNI_FileOpen(ctx);
   547     return Android_JNI_FileOpen(ctx);
   546 }
   548 }
   547 
   549 
   548 extern "C" size_t Android_JNI_FileRead(SDL_RWops* ctx, void* buffer,
   550 extern "C" size_t Android_JNI_FileRead(SDL_RWops* ctx, void* buffer,