From 0ec66d5f8872bd95a3bb68c348452d007b4a4d5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Hrdli=C4=8Dka?= <13226155+dhrdlicka@users.noreply.github.com> Date: Thu, 21 Aug 2025 19:49:09 +0200 Subject: [PATCH] Copy vmm_path to usr_path when manager is enabled --- src/86box.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/86box.c b/src/86box.c index 5f59dab7f..0b4dd4349 100644 --- a/src/86box.c +++ b/src/86box.c @@ -1087,6 +1087,7 @@ usage: /* Load the global configuration file. */ config_load_global(); + /* Determine whether to start the VM manager. */ #ifndef USE_SDL_UI if (vmm_disabled) #endif @@ -1104,6 +1105,7 @@ usage: if (start_vmm) { pclog("# VM Manager enabled. Path: %s\n", vmm_path); + strncpy(usr_path, vmm_path, sizeof(usr_path) - 1); } else #endif {