diff --git a/build-android/src/game.c b/build-android/src/game.c index 33eb6e6..38263f2 100644 --- a/build-android/src/game.c +++ b/build-android/src/game.c @@ -138,6 +138,7 @@ int win_long_comparator(void *context_unused, const void *a, const void *b) { return A - B; } + #ifdef SCORE_SYSTEM void sort_times(void) { #ifdef __linux__ diff --git a/src/audio.c b/src/audio.c index 0609261..0c23aa8 100644 --- a/src/audio.c +++ b/src/audio.c @@ -43,7 +43,7 @@ void callbackfn3(void *unused, Uint8 *stream, int len) { void start_audio(void) { - if (Mix_OpenAudio(G_AUDIO_SFREQ,AUDIO_U8,1,G_AUDIO_BSIZE) < 0) { + if (Mix_OpenAudio(G_AUDIO_SFREQ,AUDIO_S8,1,G_AUDIO_BSIZE) < 0) { fprintf(stderr, "Unable to open audio: %s\n", SDL_GetError()); exit(1); }