mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
SDL_Init after FILESYSTEM_init, for gamecontrollerdb.txt
This commit is contained in:
parent
e18dd195ba
commit
0531ee9b19
1 changed files with 7 additions and 7 deletions
|
@ -46,13 +46,6 @@ entityclass obj;
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
SDL_Init(
|
|
||||||
SDL_INIT_VIDEO |
|
|
||||||
SDL_INIT_AUDIO |
|
|
||||||
SDL_INIT_JOYSTICK |
|
|
||||||
SDL_INIT_GAMECONTROLLER
|
|
||||||
);
|
|
||||||
|
|
||||||
char* baseDir = NULL;
|
char* baseDir = NULL;
|
||||||
char* assetsPath = NULL;
|
char* assetsPath = NULL;
|
||||||
|
|
||||||
|
@ -74,6 +67,13 @@ int main(int argc, char *argv[])
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SDL_Init(
|
||||||
|
SDL_INIT_VIDEO |
|
||||||
|
SDL_INIT_AUDIO |
|
||||||
|
SDL_INIT_JOYSTICK |
|
||||||
|
SDL_INIT_GAMECONTROLLER
|
||||||
|
);
|
||||||
|
|
||||||
NETWORK_init();
|
NETWORK_init();
|
||||||
|
|
||||||
Screen gameScreen;
|
Screen gameScreen;
|
||||||
|
|
Loading…
Reference in a new issue