aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorAlyssa Milburn2011-12-13 18:44:58 +0100
committerAlyssa Milburn2011-12-13 18:44:58 +0100
commitc780b58e88f2ae19c3610744bb2c3740e98b3056 (patch)
treedeb70d0511d2e830b162041541f3400d94d5c3bd /backends/platform
parent6c790ea6a7b34ed24dd207c78e5dec7512adc191 (diff)
downloadscummvm-rg350-c780b58e88f2ae19c3610744bb2c3740e98b3056.tar.gz
scummvm-rg350-c780b58e88f2ae19c3610744bb2c3740e98b3056.tar.bz2
scummvm-rg350-c780b58e88f2ae19c3610744bb2c3740e98b3056.zip
ANDROID: Fix assert in JavaInputStream (thanks clone2727).
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/android/asset-archive.cpp2
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");