mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 16:44:01 +00:00
Add hack in patch_content to guard against in correct 'detection'
(for want of a better word) of patch file that doesn't even exist on the filesystem - this stuff really needs to be rewritten, this is just a plain mess
This commit is contained in:
parent
b0f8ac993c
commit
50c546cfb9
@ -104,6 +104,9 @@ static void patch_content(uint8_t **buf, ssize_t *size)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!path_file_exists(patch_path))
|
||||||
|
return;
|
||||||
|
|
||||||
RARCH_LOG("Found %s file in \"%s\", attempting to patch ...\n",
|
RARCH_LOG("Found %s file in \"%s\", attempting to patch ...\n",
|
||||||
patch_desc, patch_path);
|
patch_desc, patch_path);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user