mirror of
https://github.com/libretro/RetroArch
synced 2025-03-14 10:21:46 +00:00
add abort in case only one of manifest/base dir defined
This commit is contained in:
parent
d4d3aee457
commit
52e2ee9272
@ -535,7 +535,10 @@ void platform_emscripten_mount_filesystems(void)
|
||||
*/
|
||||
int max_line_len = 1024;
|
||||
if (!(fetch_manifest && fetch_base_dir))
|
||||
{
|
||||
printf("[FetchFS] must specify both FETCH_MANIFEST and FETCH_BASE_DIR\n");
|
||||
abort();
|
||||
}
|
||||
printf("[FetchFS] read fetch manifest from %s\n", fetch_manifest);
|
||||
FILE *file = fopen(fetch_manifest, "r");
|
||||
if (!file)
|
||||
|
Loading…
x
Reference in New Issue
Block a user