neogeo: support per-folder romsets.xml for children subfolders.
This commit is contained in:
@@ -937,8 +937,6 @@ int ScanDirectory(char* path, int mode, const char *extension, int options, cons
|
||||
if (mode == SCANF_INIT)
|
||||
{
|
||||
file_name[0] = 0;
|
||||
if (options & SCANO_NEOGEO) neogeo_scan_xml();
|
||||
|
||||
if ((options & SCANO_NOENTER) || !isPathDirectory(path))
|
||||
{
|
||||
char *p = strrchr(path, '/');
|
||||
@@ -960,6 +958,8 @@ int ScanDirectory(char* path, int mode, const char *extension, int options, cons
|
||||
file_name[0] = 0;
|
||||
}
|
||||
|
||||
if (options & SCANO_NEOGEO) neogeo_scan_xml(path);
|
||||
|
||||
sprintf(full_path, "%s/%s", getRootDir(), path);
|
||||
int path_len = strlen(full_path);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user