mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 16:44:01 +00:00
revert some changes in load_content to make SGB work again with the subsystem API
This commit is contained in:
parent
132bec0237
commit
6db06066e3
@ -332,7 +332,12 @@ static bool load_content_dont_need_fullpath(
|
|||||||
|
|
||||||
/* First content file is significant, attempt to do patching,
|
/* First content file is significant, attempt to do patching,
|
||||||
* CRC checking, etc. */
|
* CRC checking, etc. */
|
||||||
bool ret = read_content_file(i, path, (void**)&info->data, &len);
|
bool ret = false;
|
||||||
|
|
||||||
|
if (i == 0)
|
||||||
|
ret = read_content_file(i, path, (void**)&info->data, &len);
|
||||||
|
else
|
||||||
|
ret = read_file(path, (void**)&info->data, &len);
|
||||||
|
|
||||||
if (!ret || len < 0)
|
if (!ret || len < 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user