summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-09 09:03:57 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-09 13:04:38 +0000
commitc18839e3f8e1e8a6155158ebf713a82966623ed7 (patch)
tree91fb396a4f50d64b1024f5e14c9c47f30aaa4066
parent7ad8b2eb3c979a8f51ccb2d8127efe27beeb39bd (diff)
downloadrockbox-c18839e3f8e1e8a6155158ebf713a82966623ed7.tar.gz
rockbox-c18839e3f8e1e8a6155158ebf713a82966623ed7.tar.bz2
rockbox-c18839e3f8e1e8a6155158ebf713a82966623ed7.zip
Fix red, hopefully.
Change-Id: I4ee6b9793260ac7dec9d72f27bfe242cd4adbf38
-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__ */