Initial support for MiSTer Game Launcher (mgl) file.

This commit is contained in:
Sorgelig
2022-02-24 20:40:14 +08:00
parent d8edab069e
commit ed1ec99688
8 changed files with 232 additions and 47 deletions

View File

@@ -4708,8 +4708,7 @@ int input_test(int getchar)
if (!strncmp(cmd, "fb_cmd", 6)) video_cmd(cmd);
else if (!strncmp(cmd, "load_core ", 10))
{
len = strlen(cmd);
if (len > 4 && !strcasecmp(cmd + len - 4, ".mra")) arcade_load(cmd + 10);
if(isXmlName(cmd)) xml_load(cmd + 10);
else fpga_load_rbf(cmd + 10);
}
else if (!strncmp(cmd, "screenshot", 10))