applyUps function
Applies a UPS patch to a ROM.
rom
is the original ROM data.
patch
is the UPS patch data.
Returns the patched ROM data.
Throws PatchException if the patch is invalid or application fails.
Implementation
Uint8List applyUps(Uint8List rom, Uint8List patch) {
return UpsPatcher.applyPatch(rom, patch);
}