Added game detection

This commit is contained in:
dkeruza
2023-11-11 16:24:10 -05:00
committed by GitHub
parent 8cec0997d8
commit 3def1d9a49
+18
View File
@@ -70,6 +70,24 @@ static int detectGame()
return 0;
}
if (strstr(program_invocation_name, "abc1080"))
{
config.game = ABC;
return 0;
}
if (strstr(program_invocation_name, "drive"))
{
config.game = SRTV;
return 0;
}
if (strstr(program_invocation_name, "dsr"))
{
config.game = RTUNED;
return 0;
}
config.game = UNKNOWN;
return 1;
}