1
0
Fork 0
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:
Ethan Lee 2020-02-19 12:44:36 -05:00
parent e18dd195ba
commit 0531ee9b19

View file

@ -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;