From 5448dd99a337cafe66901eae1d0b481f6c42b75c Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Wed, 23 Sep 2026 14:17:05 -0400 Subject: [PATCH] fix red in c6abf3382a -- iriver h1xx/h3xx simulator Change-Id: I2b6f207aa8b349ca9cf12f8f9334848a65c4f48a --- apps/plugin.c | 2 +- apps/plugin.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/plugin.c b/apps/plugin.c index bdcdffbdcc..dfb1cbdb82 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -860,7 +860,7 @@ static const struct plugin_api rockbox_api = { wheel_send_events, #endif -#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES) +#if !defined(SIMULATOR) && (defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)) /* Routines for the iriver_flash -plugin. */ detect_original_firmware, detect_flashed_ramimage, diff --git a/apps/plugin.h b/apps/plugin.h index 54fedf28ec..26432b5b9b 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -1025,7 +1025,7 @@ struct plugin_api { void (*wheel_send_events)(bool send); #endif -#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES) +#if !defined(SIMULATOR) && (defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)) /* Routines for the iriver_flash -plugin. */ bool (*detect_original_firmware)(void); bool (*detect_flashed_ramimage)(void);