arcade: fix the path if mame is in root.

This commit is contained in:
sorgelig
2019-12-29 02:14:43 +08:00
parent aea0f0fecb
commit 4899992d6f

View File

@@ -53,6 +53,7 @@ static void set_arcade_root(const char *path)
{
char *p = strrchr(mame_root, '/');
if (p) *p = 0;
else mame_root[0] = 0;
}
else
{