restored a zero

This commit is contained in:
Denis Molony 2020-03-29 14:55:25 +10:00
parent 4eaf2338cb
commit 32d1b5d07e
2 changed files with 543 additions and 543 deletions

View File

@ -171,7 +171,7 @@ public class SHRPictureFile2 extends HiResImage
failureReason = "Buffer should be 38,400 bytes";
return;
}
int maxTables = (buffer.length - 3200) / COLOR_TABLE_SIZE;
int maxTables = (buffer.length - 32000) / COLOR_TABLE_SIZE;
colorTables = new ColorTable[maxTables];
for (int i = 0; i < colorTables.length; i++)
{

File diff suppressed because it is too large Load Diff