mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Fix IPS Patch, still without re-allocation
This commit is contained in:
parent
be493daf72
commit
33c681c0c7
@ -436,7 +436,7 @@ static enum patch_error ips_apply_patch(
|
||||
uint8_t **targetdata_fix, uint64_t *targetlength)
|
||||
{
|
||||
uint32_t offset = 5;
|
||||
uint8_t* target_data=*target_data_fix;
|
||||
uint8_t* targetdata=*targetdata_fix;
|
||||
if (patchlen < 8 ||
|
||||
patchdata[0] != 'P' ||
|
||||
patchdata[1] != 'A' ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user