src/audio/arts/SDL_artsaudio.c
changeset 864 0c892e99b65b
parent 769 b8d311d90021
child 929 03fb90fc135e
equal deleted inserted replaced
863:a4853bc3b4f8 864:0c892e99b65b
   104 	if ( arts_handle ) {
   104 	if ( arts_handle ) {
   105 		arts_loaded = 1;
   105 		arts_loaded = 1;
   106 		retval = 0;
   106 		retval = 0;
   107 		for ( i=0; i<SDL_TABLESIZE(arts_functions); ++i ) {
   107 		for ( i=0; i<SDL_TABLESIZE(arts_functions); ++i ) {
   108 			*arts_functions[i].func = SDL_LoadFunction(arts_handle, arts_functions[i].name);
   108 			*arts_functions[i].func = SDL_LoadFunction(arts_handle, arts_functions[i].name);
   109 			if ( ! arts_functions[i].func ) {
   109 			if ( !*arts_functions[i].func ) {
   110 				retval = -1;
   110 				retval = -1;
   111 				UnloadARTSLibrary();
   111 				UnloadARTSLibrary();
   112 				break;
   112 				break;
   113 			}
   113 			}
   114 		}
   114 		}