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:
twinaphex 2015-02-16 01:40:31 +01:00
parent b0f8ac993c
commit 50c546cfb9

View File

@ -104,6 +104,9 @@ static void patch_content(uint8_t **buf, ssize_t *size)
return;
}
if (!path_file_exists(patch_path))
return;
RARCH_LOG("Found %s file in \"%s\", attempting to patch ...\n",
patch_desc, patch_path);