Fix multidrive/multivolume hosted builds.

Generalize the fix in 2348779ae6 to apply to hosted as well as simulator
builds.  Original regression introduced in c0ac043c6d

Change-Id: Ia786533cc318555e3bb842eb21a73a1f76888379
This commit is contained in:
Solomon Peachy 2024-07-26 10:44:38 -04:00
parent e94f778f1c
commit 13830439fa
2 changed files with 9 additions and 6 deletions

View file

@ -30,9 +30,6 @@
#include "usb.h"
#include "mv.h"
#include "ata_idle_notify.h"
#ifdef HAVE_MULTIVOLUME
#include "pathfuncs.h" /* for init_volume_names */
#endif
#ifdef WIN32
#include <windows.h>
@ -137,9 +134,6 @@ 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,