From 026a43fb066a5b9bc57a1d6f658191ae7cc280fc Mon Sep 17 00:00:00 2001 From: Collin Smith Date: Tue, 17 Dec 2019 00:12:49 -0800 Subject: [PATCH] Added comment referencing #73 --- core/src/com/riiablo/map/DS1.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/com/riiablo/map/DS1.java b/core/src/com/riiablo/map/DS1.java index 70868b0c..da1633eb 100644 --- a/core/src/com/riiablo/map/DS1.java +++ b/core/src/com/riiablo/map/DS1.java @@ -148,10 +148,10 @@ public class DS1 { if (DEBUG) Gdx.app.debug(TAG, ds1.toString()); if (ds1.version < 9 || 13 < ds1.version) { assert in.available() == 0 : in.available() + "B available!"; - } else if (DEBUG_STREAM && in.available() > 0) { - // FIXME: version 9 <= 13 causes crash here /w 4B remaining, why? always 0? + } else if (DEBUG_STREAM && in.available() > 0) { // FIXME: https://github.com/collinsmith/riiablo/issues/73 byte[] data = IOUtils.readFully(in, in.available()); Gdx.app.error(TAG, fileName + " " + data.length + "B still available in stream! version=" + ds1.version + "; " + DebugUtils.toByteArray(data)); + Gdx.app.error(TAG, ds1.toString()); } return ds1;