diff options
Diffstat (limited to 'apps/plugins/zxbox')
-rw-r--r-- | apps/plugins/zxbox/spmain.c | 4 | ||||
-rw-r--r-- | apps/plugins/zxbox/zxbox.c | 4 | ||||
-rw-r--r-- | apps/plugins/zxbox/zxconfig.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugins/zxbox/spmain.c b/apps/plugins/zxbox/spmain.c index e27770c70c..6c6b59c3fb 100644 --- a/apps/plugins/zxbox/spmain.c +++ b/apps/plugins/zxbox/spmain.c | |||
@@ -290,7 +290,7 @@ static void options_menu(void){ | |||
290 | no_yes, 2, NULL); | 290 | no_yes, 2, NULL); |
291 | if (new_setting != settings.sound ) | 291 | if (new_setting != settings.sound ) |
292 | settings.sound=new_setting; | 292 | settings.sound=new_setting; |
293 | #if CONFIG_CODEC == SWCODEC && !defined SIMULATOR | 293 | #if !defined SIMULATOR |
294 | rb->pcm_play_stop(); | 294 | rb->pcm_play_stop(); |
295 | #endif | 295 | #endif |
296 | break; | 296 | break; |
@@ -318,7 +318,7 @@ static void options_menu(void){ | |||
318 | /* menu */ | 318 | /* menu */ |
319 | static bool zxbox_menu(void) | 319 | static bool zxbox_menu(void) |
320 | { | 320 | { |
321 | #if CONFIG_CODEC == SWCODEC && !defined SIMULATOR | 321 | #if !defined SIMULATOR |
322 | rb->pcm_play_stop(); | 322 | rb->pcm_play_stop(); |
323 | #endif | 323 | #endif |
324 | int selected=0; | 324 | int selected=0; |
diff --git a/apps/plugins/zxbox/zxbox.c b/apps/plugins/zxbox/zxbox.c index d618243b92..4ebc0e0a9e 100644 --- a/apps/plugins/zxbox/zxbox.c +++ b/apps/plugins/zxbox/zxbox.c | |||
@@ -102,9 +102,9 @@ enum plugin_status plugin_start(const void* parameter) | |||
102 | #ifdef USE_GREY | 102 | #ifdef USE_GREY |
103 | grey_show(false); | 103 | grey_show(false); |
104 | grey_release(); | 104 | grey_release(); |
105 | #endif | 105 | #endif |
106 | 106 | ||
107 | #if CONFIG_CODEC == SWCODEC && !defined SIMULATOR | 107 | #if !defined SIMULATOR |
108 | rb->pcm_play_stop(); | 108 | rb->pcm_play_stop(); |
109 | #endif | 109 | #endif |
110 | 110 | ||
diff --git a/apps/plugins/zxbox/zxconfig.h b/apps/plugins/zxbox/zxconfig.h index 590da99f15..fb93dc5081 100644 --- a/apps/plugins/zxbox/zxconfig.h +++ b/apps/plugins/zxbox/zxconfig.h | |||
@@ -29,7 +29,7 @@ extern int intkeys[5]; | |||
29 | #define SPECT_MEM 1 | 29 | #define SPECT_MEM 1 |
30 | 30 | ||
31 | /* Define if sound driver is available. */ | 31 | /* Define if sound driver is available. */ |
32 | #if CONFIG_CODEC == SWCODEC && !defined SIMULATOR | 32 | #if !defined SIMULATOR |
33 | #define HAVE_SOUND | 33 | #define HAVE_SOUND |
34 | #endif | 34 | #endif |
35 | 35 | ||