diff --git a/alienblaster/project/sdl/sdl-1.2/src/video/android/SDL_androidvideo-1.2.c b/alienblaster/project/sdl/sdl-1.2/src/video/android/SDL_androidvideo-1.2.c index 37d5ecce2..81c6e7de8 100644 --- a/alienblaster/project/sdl/sdl-1.2/src/video/android/SDL_androidvideo-1.2.c +++ b/alienblaster/project/sdl/sdl-1.2/src/video/android/SDL_androidvideo-1.2.c @@ -655,6 +655,7 @@ static int ANDROID_FlipHWSurface(_THIS, SDL_Surface *surface) rect.w = SDL_CurrentVideoSurface->w; rect.h = SDL_CurrentVideoSurface->h; SDL_UpdateTexture((struct SDL_Texture *)SDL_CurrentVideoSurface->hwdata, &rect, SDL_CurrentVideoSurface->pixels, SDL_CurrentVideoSurface->pitch); + SDL_RenderCopy((struct SDL_Texture *)SDL_CurrentVideoSurface->hwdata, &rect, &rect); } SDL_ANDROID_CallJavaSwapBuffers(); diff --git a/alienblaster/project/sdl/sdl-1.3/src/audio/android/SDL_androidaudio.c b/alienblaster/project/sdl/sdl-1.3/src/audio/android/SDL_androidaudio.c index aa863c66f..1f2a9ea83 100644 --- a/alienblaster/project/sdl/sdl-1.3/src/audio/android/SDL_androidaudio.c +++ b/alienblaster/project/sdl/sdl-1.3/src/audio/android/SDL_androidaudio.c @@ -198,7 +198,11 @@ static int ANDROIDAUD_OpenAudio (_THIS, SDL_AudioSpec *spec) SDL_CalculateAudioSpec(audioFormat); +#if SDL_VERSION_ATLEAST(1,3,0) return(1); +#else + return(0); +#endif } static void ANDROIDAUD_CloseAudio(_THIS)