summaryrefslogtreecommitdiffstats
path: root/apps/plugins/sdl
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2017-12-24 17:43:30 -0500
committerFranklin Wei <git@fwei.tk>2017-12-24 17:43:30 -0500
commit8d3e3056f75fbcd8e7db6cc396981750fb65806b (patch)
tree51b5a3153859b9ff52e4172b9788b09346882aa0 /apps/plugins/sdl
parent2b49724c3a5c27407fc59972c97a90b2ba910eff (diff)
downloadrockbox-8d3e3056f75fbcd8e7db6cc396981750fb65806b.tar.gz
rockbox-8d3e3056f75fbcd8e7db6cc396981750fb65806b.tar.bz2
rockbox-8d3e3056f75fbcd8e7db6cc396981750fb65806b.zip
fix red once more
Change-Id: I6290cc6cca468c197656236d3dd31c3f72c53842
Diffstat (limited to 'apps/plugins/sdl')
-rw-r--r--apps/plugins/sdl/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/sdl/main.c b/apps/plugins/sdl/main.c
index 5a3e016553..f679867a17 100644
--- a/apps/plugins/sdl/main.c
+++ b/apps/plugins/sdl/main.c
@@ -250,7 +250,7 @@ enum plugin_status plugin_start(const void *param)
/* we always use the audio buffer */
size_t sz;
audiobuf = rb->plugin_get_audio_buffer(&sz);
-#ifndef SIMULATOR
+#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
if ((uintptr_t)audiobuf < (uintptr_t)plugin_start_addr)
{
uint32_t tmp_size = (uintptr_t)plugin_start_addr - (uintptr_t)audiobuf;