From aaf8e37c41b119f5d4b8f8946d0af3ea7574d616 Mon Sep 17 00:00:00 2001 From: maron2000 <68574602+maron2000@users.noreply.github.com> Date: Mon, 17 Feb 2025 19:27:33 +0900 Subject: [PATCH] Enable changing drives mounted prior to switching to securemode --- src/shell/shell_misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/shell_misc.cpp b/src/shell/shell_misc.cpp index 390fd758301..593fdf8c89e 100644 --- a/src/shell/shell_misc.cpp +++ b/src/shell/shell_misc.cpp @@ -1264,7 +1264,7 @@ bool DOS_Shell::Execute(char* name, const char* args) { const Section_prop* sec = static_cast(control->GetSection("dos")); /* check for a drive change */ - if (((strcmp(name + 1, ":") == 0) || (strcmp(name + 1, ":\\") == 0)) && isalpha(*name) && !control->SecureMode()) + if (((strcmp(name + 1, ":") == 0) || (strcmp(name + 1, ":\\") == 0)) && isalpha(*name)) { #ifdef WIN32 uint8_t c;uint16_t n;