mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2025-01-30 18:31:20 +00:00
added SHR
This commit is contained in:
parent
96badbeff3
commit
760ea2246e
@ -19,7 +19,7 @@ public class ExoBuffer
|
||||
private static int PFLAG_BITS_ALIGN_START = (1 << PBIT_BITS_ALIGN_START);
|
||||
private static int PFLAG_4_OFFSET_TABLES = (1 << PBIT_4_OFFSET_TABLES);
|
||||
|
||||
byte[] outBuffer = new byte[16384];
|
||||
byte[] outBuffer = new byte[50000];
|
||||
|
||||
// ---------------------------------------------------------------------------------//
|
||||
public ExoBuffer (byte[] inBuffer)
|
||||
|
@ -330,6 +330,12 @@ class FileEntry extends CatalogEntry implements ProdosConstants
|
||||
else
|
||||
file = new AssemblerProgram (name, exactBuffer, auxType);
|
||||
}
|
||||
else if (auxType == 0x1FF8 && HiResImage.isExo (exactBuffer))
|
||||
{
|
||||
ExoBuffer exoBuffer = new ExoBuffer (exactBuffer);
|
||||
byte[] outBuffer = exoBuffer.getExpandedBuffer ();
|
||||
file = new SHRPictureFile2 (name, outBuffer, FILE_TYPE_PIC, 0x2000, 0x8000);
|
||||
}
|
||||
else if (oneOf (endOfFile, 0x1FF8, 0x1FFF, 0x2000, 0x4000)
|
||||
&& oneOf (auxType, 0x1FFF, 0x2000, 0x4000, 0x6000))
|
||||
file = new OriginalHiResImage (name, exactBuffer, auxType);
|
||||
|
Loading…
x
Reference in New Issue
Block a user