AVM2 instruction reading fix, strongly typed Cache key

This commit is contained in:
honfika@gmail.com
2014-09-07 12:29:27 +02:00
parent 946018749e
commit 6cfd01dc3d
10 changed files with 153 additions and 81 deletions

View File

@@ -2203,7 +2203,7 @@ public final class SWF implements TreeItem, Timelined {
mat.translateX, mat.translateY);
}
private static Cache<SerializableImage> frameCache = Cache.getInstance(false);
private static Cache<String, SerializableImage> frameCache = Cache.getInstance(false);
public static SerializableImage getFromCache(String key) {
if (frameCache.contains(key)) {