Fix build again
This commit is contained in:
@@ -1105,7 +1105,7 @@ usage:
|
||||
/* -E specified on the command line. */
|
||||
start_vmm = 1;
|
||||
} else {
|
||||
strncpy(vmm_path, vmm_path_cfg, sizeof(vmm_path) - 1)
|
||||
strncpy(vmm_path, vmm_path_cfg, sizeof(vmm_path) - 1);
|
||||
}
|
||||
|
||||
if (start_vmm) {
|
||||
|
||||
@@ -697,7 +697,8 @@ plat_get_temp_dir(char *outbuf, const uint8_t len)
|
||||
void
|
||||
plat_get_vmm_dir(char *outbuf, const size_t len)
|
||||
{
|
||||
const auto dir = QDir(QDir::home().filePath("86Box VMs"));
|
||||
auto dir = QDir::home();
|
||||
dir.setPath("86Box VMs");
|
||||
|
||||
if (!dir.exists()) {
|
||||
if (!dir.mkpath(".")) {
|
||||
|
||||
Reference in New Issue
Block a user