Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

rgnano: Fix simulator build

Change-Id: I2e6dfae25a2dae18e672c5584e8bd52c7bbd279a

+4 -4
+4 -4
firmware/target/hosted/sdl/system-sdl.c
··· 50 50 #include "maemo-thread.h" 51 51 #endif 52 52 53 - #ifdef RG_NANO 53 + #if defined(RG_NANO) && !defined(SIMULATOR) 54 54 #include <signal.h> 55 55 #include "instant_play.h" 56 56 #endif ··· 198 198 /* wait for event thread to finish */ 199 199 SDL_WaitThread(evt_thread, NULL); 200 200 201 - #ifdef RG_NANO 201 + #if defined(RG_NANO) && !defined(SIMULATOR) 202 202 /* Reset volume/brightness to the values before launching rockbox */ 203 203 ip_reset_values(); 204 204 #endif ··· 250 250 g_type_init(); 251 251 #endif 252 252 253 - #ifdef RG_NANO 253 + #if defined(RG_NANO) && !defined(SIMULATOR) 254 254 /* Instant play handling */ 255 255 struct sigaction ip_sa; 256 256 ip_sa.sa_handler = ip_handle_sigusr1; ··· 301 301 302 302 void system_reboot(void) 303 303 { 304 - #ifdef RG_NANO 304 + #if defined(RG_NANO) && !defined(SIMULATOR) 305 305 /* Reset volume/brightness to the values before launching rockbox */ 306 306 ip_reset_values(); 307 307 #endif