ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/Frodo4/Src/Display_SDL.h
(Generate patch)

Comparing Frodo4/Src/Display_SDL.h (file contents):
Revision 1.9 by cebix, 2010-04-21T22:06:15Z vs.
Revision 1.10 by cebix, 2010-04-22T09:09:28Z

# 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          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines