Merge pull request #9272 from abextm/framedumpertest-index-confusion

cache/FrameDumperTest: Don't get the wrong framemaps for a frame
This commit is contained in:
Abex
2019-07-03 13:04:38 -06:00
committed by GitHub

View File

@@ -88,7 +88,7 @@ public class FrameDumper
int framemapArchiveId = (contents[0] & 0xff) << 8 | contents[1] & 0xff;
Archive framemapArchive = framemapIndex.getArchives().get(framemapArchiveId);
Archive framemapArchive = framemapIndex.getArchive(framemapArchiveId);
archiveData = storage.loadArchive(framemapArchive);
byte[] framemapContents = framemapArchive.decompress(archiveData);