diff --git a/stratosphere/ro/source/ro_patcher.cpp b/stratosphere/ro/source/ro_patcher.cpp index 355a7d2..0ac52c9 100644 --- a/stratosphere/ro/source/ro_patcher.cpp +++ b/stratosphere/ro/source/ro_patcher.cpp @@ -107,7 +107,6 @@ } } else { IPS_RLE_PATCH_OFFSET_WITHIN_BOUNDS: - patch_offset -= sizeof(Registration::NroHeader); if (patch_offset + rle_size > mapped_size) { rle_size = mapped_size - patch_offset; } @@ -126,7 +125,6 @@ } } else { IPS_DATA_PATCH_OFFSET_WITHIN_BOUNDS: - patch_offset -= sizeof(Registration::NroHeader); u32 read_size = patch_size; if (patch_offset + read_size > mapped_size) { read_size = mapped_size - patch_offset;