src/audio/esd/SDL_esdaudio.c
changeset 864 0c892e99b65b
parent 769 b8d311d90021
child 1312 c9b51268668f
equal deleted inserted replaced
863:a4853bc3b4f8 864:0c892e99b65b
    99 	if ( esd_handle ) {
    99 	if ( esd_handle ) {
   100 		esd_loaded = 1;
   100 		esd_loaded = 1;
   101 		retval = 0;
   101 		retval = 0;
   102 		for ( i=0; i<SDL_TABLESIZE(esd_functions); ++i ) {
   102 		for ( i=0; i<SDL_TABLESIZE(esd_functions); ++i ) {
   103 			*esd_functions[i].func = SDL_LoadFunction(esd_handle, esd_functions[i].name);
   103 			*esd_functions[i].func = SDL_LoadFunction(esd_handle, esd_functions[i].name);
   104 			if ( ! esd_functions[i].func ) {
   104 			if ( !*esd_functions[i].func ) {
   105 				retval = -1;
   105 				retval = -1;
   106 				UnloadESDLibrary();
   106 				UnloadESDLibrary();
   107 				break;
   107 				break;
   108 			}
   108 			}
   109 		}
   109 		}