summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/SOURCES4
-rw-r--r--apps/plugins/lib/overlay.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES
index c6eab1cadf..c0246eecc4 100644
--- a/apps/plugins/SOURCES
+++ b/apps/plugins/SOURCES
@@ -60,6 +60,7 @@ alarmclock.c
iriverify.c
#endif
+#if (CONFIG_PLATFORM & PLATFORM_NATIVE) /* Requires real hardware */
#if defined(IRIVER_H100_SERIES)
iriver_flash.c
#endif
@@ -67,12 +68,13 @@ iriver_flash.c
#if defined(IPOD_NANO2G)
crypt_firmware.c
#endif
+#endif
/* Overlays loaders */
#if defined(HAVE_LCD_COLOR) && \
(!defined(LCD_STRIDEFORMAT) || (LCD_STRIDEFORMAT != VERTICAL_STRIDE))
-#if (PLUGIN_BUFFER_SIZE > 0x14000) && (CONFIG_PLATFORM & (PLATFORM_NATIVE /*|PLATFORM_HOSTED */)) && (defined(CPU_ARM) || defined(CPU_MIPS))
+#if (PLUGIN_BUFFER_SIZE > 0x14000) && (CONFIG_PLATFORM & (PLATFORM_NATIVE |PLATFORM_HOSTED)) && (defined(CPU_ARM) || defined(CPU_MIPS))
duke3d.c
quake.c
wolf3d.c
diff --git a/apps/plugins/lib/overlay.h b/apps/plugins/lib/overlay.h
index 357dc93e39..4602966632 100644
--- a/apps/plugins/lib/overlay.h
+++ b/apps/plugins/lib/overlay.h
@@ -24,13 +24,11 @@
#ifndef __OVERLAY_H__
#define __OVERLAY_H__
-#ifndef SIMULATOR
#include "plugin.h"
/* load and run a plugin linked as an overlay. */
enum plugin_status run_overlay(const void* parameter,
unsigned char *filename, unsigned char *name);
-#endif /* !SIMULATOR */
#endif /* __OVERLAY_H__ */