diff options
author | Alyssa Milburn | 2011-12-13 18:44:58 +0100 |
---|---|---|
committer | Alyssa Milburn | 2011-12-13 18:44:58 +0100 |
commit | c780b58e88f2ae19c3610744bb2c3740e98b3056 (patch) | |
tree | deb70d0511d2e830b162041541f3400d94d5c3bd | |
parent | 6c790ea6a7b34ed24dd207c78e5dec7512adc191 (diff) | |
download | scummvm-rg350-c780b58e88f2ae19c3610744bb2c3740e98b3056.tar.gz scummvm-rg350-c780b58e88f2ae19c3610744bb2c3740e98b3056.tar.bz2 scummvm-rg350-c780b58e88f2ae19c3610744bb2c3740e98b3056.zip |
ANDROID: Fix assert in JavaInputStream (thanks clone2727).
-rw-r--r-- | backends/platform/android/asset-archive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/android/asset-archive.cpp b/backends/platform/android/asset-archive.cpp index ed143994e4..14840de996 100644 --- a/backends/platform/android/asset-archive.cpp +++ b/backends/platform/android/asset-archive.cpp @@ -103,7 +103,7 @@ JavaInputStream::JavaInputStream(JNIEnv *env, jobject is) : MID_mark = env->GetMethodID(cls, "mark", "(I)V"); assert(MID_mark); MID_available = env->GetMethodID(cls, "available", "()I"); - assert(MID_mark); + assert(MID_available); MID_close = env->GetMethodID(cls, "close", "()V"); assert(MID_close); MID_read = env->GetMethodID(cls, "read", "([BII)I"); |