Make sure the arcade path is an absolute one. (fixes MiSTer-devel/Main-MiSTer#280) (#317)
Co-authored-by: Zakk <zakk@rsdio.com>
This commit is contained in:
@@ -1072,7 +1072,8 @@ int arcade_load(const char *xml)
|
||||
MenuHide();
|
||||
static char path[kBigTextSize];
|
||||
|
||||
strcpy(path, xml);
|
||||
if(xml[0] == '/') strcpy(path, xml);
|
||||
else sprintf(path, "%s/%s", getRootDir(), xml);
|
||||
|
||||
set_arcade_root(path);
|
||||
printf("arcade_load [%s]\n", path);
|
||||
|
||||
Reference in New Issue
Block a user