Skip to content

Commit

Permalink
[Bugfix Rockbox#2] initialize the volume names for the sim
Browse files Browse the repository at this point in the history
and fix red for the devices that don't have ext drives

Change-Id: I66b8ea1e1b22a42cee2957a504756e7f785bd0ae
  • Loading branch information
Bilgus committed Jul 25, 2024
1 parent 67db38e commit 2348779
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion uisimulator/common/sim_tasks.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
#include "usb.h"
#include "mv.h"
#include "ata_idle_notify.h"
#include "pathfuncs.h"
#ifdef HAVE_MULTIVOLUME
#include "pathfuncs.h" /* for init_volume_names */
#endif

#ifdef WIN32
#include <windows.h>
#endif
Expand Down Expand Up @@ -134,7 +137,9 @@ void sim_thread(void)

void sim_tasks_init(void)
{
#ifdef HAVE_MULTIVOLUME
init_volume_names();
#endif
queue_init(&sim_queue, false);

create_thread(sim_thread, sim_thread_stack, sizeof(sim_thread_stack), 0,
Expand Down

0 comments on commit 2348779

Please sign in to comment.