# | Line 76 | Line 76 | enum { | |
---|---|---|
76 | int init_graphics(void) | |
77 | { | |
78 | // Init SDL | |
79 | < | if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK) < 0) { |
79 | > | if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK | SDL_INIT_AUDIO) < 0) { |
80 | fprintf(stderr, "Couldn't initialize SDL (%s)\n", SDL_GetError()); | |
81 | return 0; | |
82 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |