Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public static void PutInBank(this Rom rom, int bank, int address, Blob data) { if ((address - 0x8000) + data.Length >= 0x4000) { throw new Exception("Data is too large to fit within its bank."); } int offset = (bank * 0x4000) + (address - 0x8000); rom.Put(offset, data); }