示例#1
0
 /// <summary>
 /// Apply and write patch data.
 /// </summary>
 /// <param name="options">Options</param>
 public void ApplyPatch(AsmOptionsGameplay options)
 {
     this.Patcher.Apply(this.Symbols, options);
     this.ExtraMessages = this.Symbols.CreateInitialExtMessageTable();
     this.MimicTable    = this.Symbols.CreateMimicItemTable();
 }
示例#2
0
        /// <summary>
        /// Write <see cref="MimicItemTable"/> table to ROM.
        /// </summary>
        /// <param name="table">Table</param>
        public void WriteMimicItemTable(MimicItemTable table)
        {
            var addr = this["ITEM_OVERRIDE_ENTRIES"];

            ReadWriteUtils.WriteToROM((int)addr, table.Build());
        }