mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-04 17:06:48 +00:00
Should fix UPS/IPS/BPS patching
This commit is contained in:
parent
6694d813e3
commit
4d62a1883e
3
patch.c
3
patch.c
@ -443,11 +443,12 @@ static bool apply_patch_content(uint8_t **buf,
|
||||
ssize_t ret_size = *size;
|
||||
uint8_t *ret_buf = *buf;
|
||||
|
||||
if (!read_file(patch_desc, &patch_data, &patch_size))
|
||||
if (!read_file(patch_path, &patch_data, &patch_size))
|
||||
return false;
|
||||
if (patch_size < 0)
|
||||
return false;
|
||||
|
||||
|
||||
if (!path_file_exists(patch_path))
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user