mirror of https://github.com/mgba-emu/mgba.git
mGUI: Blacklist .cheats extension for ROMs
This commit is contained in:
parent
2ac6920238
commit
1aa5f1b9ff
|
@ -95,6 +95,9 @@ static bool _testExtensions(const char* name) {
|
||||||
if (!strncmp(ext, "ini", PATH_MAX)) {
|
if (!strncmp(ext, "ini", PATH_MAX)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (!strncmp(ext, "cheats", PATH_MAX)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if (!strncmp(ext, "ss", 2)) {
|
if (!strncmp(ext, "ss", 2)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue