mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 10:09:43 +01:00
Fix gamecontrollerdb.txt path
This commit is contained in:
parent
94a67ca0aa
commit
9804fbc383
1 changed files with 1 additions and 2 deletions
|
@ -122,8 +122,7 @@ int FILESYSTEM_init(char *argvZero, char* baseDir, char *assetsPath)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
strcpy(output, PHYSFS_getBaseDir());
|
SDL_snprintf(output, sizeof(output), "%s%s", PHYSFS_getBaseDir(), "gamecontrollerdb.txt");
|
||||||
strcpy(output, "gamecontrollerdb.txt");
|
|
||||||
if (SDL_GameControllerAddMappingsFromFile(output) < 0)
|
if (SDL_GameControllerAddMappingsFromFile(output) < 0)
|
||||||
{
|
{
|
||||||
printf("gamecontrollerdb.txt not found!\n");
|
printf("gamecontrollerdb.txt not found!\n");
|
||||||
|
|
Loading…
Reference in a new issue