Copy vmm_path to usr_path when manager is enabled
This commit is contained in:
@@ -1087,6 +1087,7 @@ usage:
|
|||||||
/* Load the global configuration file. */
|
/* Load the global configuration file. */
|
||||||
config_load_global();
|
config_load_global();
|
||||||
|
|
||||||
|
/* Determine whether to start the VM manager. */
|
||||||
#ifndef USE_SDL_UI
|
#ifndef USE_SDL_UI
|
||||||
if (vmm_disabled)
|
if (vmm_disabled)
|
||||||
#endif
|
#endif
|
||||||
@@ -1104,6 +1105,7 @@ usage:
|
|||||||
|
|
||||||
if (start_vmm) {
|
if (start_vmm) {
|
||||||
pclog("# VM Manager enabled. Path: %s\n", vmm_path);
|
pclog("# VM Manager enabled. Path: %s\n", vmm_path);
|
||||||
|
strncpy(usr_path, vmm_path, sizeof(usr_path) - 1);
|
||||||
} else
|
} else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user