From 33bfba86222efb6cc5b271b3e12b6cf3f38836c5 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sun, 11 Feb 2018 15:34:30 -0500 Subject: Quake: attempt 2 Change-Id: I4285036e967d7f0722802d43cf2096c808ca5799 --- apps/plugins/sdl/include/SDL_config_rockbox.h | 3 ++- apps/plugins/sdl/include/SDL_platform.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/plugins/sdl/include') diff --git a/apps/plugins/sdl/include/SDL_config_rockbox.h b/apps/plugins/sdl/include/SDL_config_rockbox.h index 2d60c43..84f1868 100644 --- a/apps/plugins/sdl/include/SDL_config_rockbox.h +++ b/apps/plugins/sdl/include/SDL_config_rockbox.h @@ -42,7 +42,7 @@ #ifdef SIMULATOR #define RB_SAMPR SAMPR_44 #else -#define RB_SAMPR SAMPR_22 +#define RB_SAMPR SAMPR_8 #endif #ifndef HAVE_LCD_COLOR @@ -81,6 +81,7 @@ /* woot */ #define SDL_AUDIO_DRIVER_ROCKBOX 1 #define SDL_THREAD_ROCKBOX 1 +#undef SDL_THREAD_PTHREAD #define SDL_TIMER_ROCKBOX 1 #define SDL_VIDEO_DRIVER_ROCKBOX 1 diff --git a/apps/plugins/sdl/include/SDL_platform.h b/apps/plugins/sdl/include/SDL_platform.h index 22c3201..40df082 100644 --- a/apps/plugins/sdl/include/SDL_platform.h +++ b/apps/plugins/sdl/include/SDL_platform.h @@ -108,6 +108,7 @@ #endif #if defined(ROCKBOX) #undef __ROCKBOX__ +#undef __LINUX__ /* maybe sim */ #define __ROCKBOX__ 1 #endif -- cgit v1.1