Example #1
0
        public override void OnRebuild(VoidPtr address, int length, bool force)
        {
            PLT0v1 *header = (PLT0v1 *)address;

            *header = new PLT0v1(Palette.Entries.Length, _format);

            TextureConverter.EncodePalette(address + 0x40, Palette, _format);
        }
Example #2
0
 protected internal override void OnRebuild(VoidPtr address, int length, bool force)
 {
     TextureConverter.EncodePalette(address, Palette, _format);
 }