mirror of
https://github.com/lindbergh-loader/lindbergh-loader.git
synced 2026-10-13 01:28:20 +03:00
Added game detection
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user