neogeo: xml: hide attribute.

This commit is contained in:
sorgelig
2019-09-17 03:29:55 +08:00
parent c24b973fc4
commit 1d035ca0ef
2 changed files with 9 additions and 0 deletions

View File

@@ -1085,6 +1085,8 @@ int ScanDirectory(char* path, int mode, const char *extension, int options, cons
char *altname = neogeo_get_altname(full_path, &dext);
if (altname)
{
if (altname == (char*)-1) continue;
dext.de.d_type = DT_REG;
memcpy(dext.altname, altname, sizeof(dext.altname));
}