Exemplo n.º 1
0
        public ResourceFork(MacOSClassic platform, byte[] bytes)
        {
            this.image    = bytes;
            this.platform = platform;
            this.arch     = platform.Architecture;

            rsrcDataOff = MemoryArea.ReadBeUInt32(bytes, 0);
            rsrcMapOff  = MemoryArea.ReadBeUInt32(bytes, 4);
            dataSize    = MemoryArea.ReadBeUInt32(bytes, 8);
            mapSize     = MemoryArea.ReadBeUInt32(bytes, 0x0C);

            rsrcTypes = new ResourceTypeCollection(image, rsrcMapOff, mapSize);
        }
Exemplo n.º 2
0
 public A5Relocator(MacOSClassic platform, BeImageReader a5dr, UInt32 a5dbelow)
 {
     this.platform = platform;
     this.a5dr     = a5dr;
     this.a5dbelow = a5dbelow;
 }