mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
[Bugfix #2] initialize the volume names for the sim
and fix red for the devices that don't have ext drives Change-Id: I66b8ea1e1b22a42cee2957a504756e7f785bd0ae
This commit is contained in:
parent
67db38e766
commit
2348779ae6
1 changed files with 6 additions and 1 deletions
|
@ -30,7 +30,10 @@
|
||||||
#include "usb.h"
|
#include "usb.h"
|
||||||
#include "mv.h"
|
#include "mv.h"
|
||||||
#include "ata_idle_notify.h"
|
#include "ata_idle_notify.h"
|
||||||
#include "pathfuncs.h"
|
#ifdef HAVE_MULTIVOLUME
|
||||||
|
#include "pathfuncs.h" /* for init_volume_names */
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -134,7 +137,9 @@ void sim_thread(void)
|
||||||
|
|
||||||
void sim_tasks_init(void)
|
void sim_tasks_init(void)
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_MULTIVOLUME
|
||||||
init_volume_names();
|
init_volume_names();
|
||||||
|
#endif
|
||||||
queue_init(&sim_queue, false);
|
queue_init(&sim_queue, false);
|
||||||
|
|
||||||
create_thread(sim_thread, sim_thread_stack, sizeof(sim_thread_stack), 0,
|
create_thread(sim_thread, sim_thread_stack, sizeof(sim_thread_stack), 0,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue