Adds --PS3 flag for PS3 controllr support on SDL.
This commit is contained in:
parent
2d838f7f33
commit
7d191ccc11
5 changed files with 35 additions and 1 deletions
|
@ -415,6 +415,8 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
|
|||
fileToLog = argv[i] + strlen("--log=");
|
||||
if (!strncmp(argv[i], "--state=", strlen("--state=")) && strlen(argv[i]) > strlen("--state="))
|
||||
stateToLoad = argv[i] + strlen("--state=");
|
||||
if (!strncmp(argv[1], "--PS3", strlen("--PS3")))
|
||||
g_Config.bPS3Controller = true;
|
||||
#if !defined(MOBILE_DEVICE)
|
||||
if (!strncmp(argv[i], "--escape-exit", strlen("--escape-exit")))
|
||||
g_Config.bPauseExitsEmulator = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue