applyIps function

Uint8List applyIps(
  1. Uint8List rom,
  2. Uint8List patch
)

Applies an IPS patch to a ROM.

rom is the original ROM data. patch is the IPS patch data.

Returns the patched ROM data.

Throws PatchException if the patch is invalid or application fails.

Implementation

Uint8List applyIps(Uint8List rom, Uint8List patch) {
  return IpsPatcher.applyPatch(rom, patch);
}