mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
Move skin global state to the WPS
This state is actually specific to the WPS and it makes more sense to put it there. Change-Id: I5dfee237fdcbae944806501ff3127a930820d68a
This commit is contained in:
parent
13da1ba785
commit
14fbefdf39
9 changed files with 59 additions and 66 deletions
|
|
@ -56,7 +56,7 @@
|
|||
#include "statusbar-skinned.h"
|
||||
#include "playback.h"
|
||||
#include "presets.h"
|
||||
#include "skin_engine/wps_internals.h"
|
||||
#include "wps.h" /* for wps_state... */
|
||||
|
||||
#if CONFIG_TUNER
|
||||
|
||||
|
|
@ -364,7 +364,9 @@ void radio_screen(void)
|
|||
{
|
||||
radio_load_presets(global_settings.fmr_file);
|
||||
}
|
||||
skin_get_global_state()->id3 = NULL;
|
||||
/* TODO: Can this be moved somewhere else? */
|
||||
get_wps_state()->id3 = NULL;
|
||||
get_wps_state()->nid3 = NULL;
|
||||
#ifdef HAVE_ALBUMART
|
||||
radioart_init(true);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue