mirror of https://github.com/mgba-emu/mgba.git
Test: Fix testToPath breakage
This commit is contained in:
parent
5b2d797e6d
commit
ec30e1f8ec
|
@ -270,6 +270,10 @@ static void testToPath(const char* testName, char* path) {
|
||||||
++i;
|
++i;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (i == PATH_MAX) {
|
||||||
|
--i;
|
||||||
|
}
|
||||||
|
path[i] = '\0';
|
||||||
}
|
}
|
||||||
|
|
||||||
static void _loadConfigTree(struct Table* configTree, const char* testName) {
|
static void _loadConfigTree(struct Table* configTree, const char* testName) {
|
||||||
|
|
Loading…
Reference in New Issue