mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 10:48:18 +08:00
fix
This commit is contained in:
@@ -28,6 +28,8 @@ Windows installers for the previous DOSBox-X versions are also available from:
|
|||||||
* [dosbox-x-windows-0.83.12-setup.exe](https://github.com/joncampbell123/dosbox-x/releases/download/dosbox-x-v0.83.12/dosbox-x-windows-0.83.12-setup.exe) (version 0.83.12)
|
* [dosbox-x-windows-0.83.12-setup.exe](https://github.com/joncampbell123/dosbox-x/releases/download/dosbox-x-v0.83.12/dosbox-x-windows-0.83.12-setup.exe) (version 0.83.12)
|
||||||
* [dosbox-x-windows-0.83.11-setup.exe](https://github.com/joncampbell123/dosbox-x/releases/download/dosbox-x-v0.83.11/dosbox-x-windows-0.83.11-setup.exe) (version 0.83.11)
|
* [dosbox-x-windows-0.83.11-setup.exe](https://github.com/joncampbell123/dosbox-x/releases/download/dosbox-x-v0.83.11/dosbox-x-windows-0.83.11-setup.exe) (version 0.83.11)
|
||||||
|
|
||||||
|
If you see the message "Windows Defender SmartScreen prevented an unrecognized app from starting", you can solve it by clicking "More info" and then "Run anyway".
|
||||||
|
|
||||||
You can easily upgrade from a previous version of DOSBox-X to the new version with the Windows installer. The Windows installer in fact offers an option to automatically upgrade the config file (dosbox-x.conf) to the new version format while keeping all the user-customized settings already made. When you select this (recommended), the config file will include all options of the latest DOSBox-X version and also will keep all the changes already done previously by the user.
|
You can easily upgrade from a previous version of DOSBox-X to the new version with the Windows installer. The Windows installer in fact offers an option to automatically upgrade the config file (dosbox-x.conf) to the new version format while keeping all the user-customized settings already made. When you select this (recommended), the config file will include all options of the latest DOSBox-X version and also will keep all the changes already done previously by the user.
|
||||||
|
|
||||||
Apart from the Windows installers, you can find six zip packages (three before 0.83.13) for each DOSBox-X version for the Windows platform in the Releases page as an alternative way to install DOSBox-X. These zip files are portable packages containing binaries built with Visual Studio 2019 (Win32, Win64, ARM32, ARM64 respectively), MinGW (Win32 and Win64 respectively). For the current DOSBox-X version 0.83.13, these portable builds are separately available from:
|
Apart from the Windows installers, you can find six zip packages (three before 0.83.13) for each DOSBox-X version for the Windows platform in the Releases page as an alternative way to install DOSBox-X. These zip files are portable packages containing binaries built with Visual Studio 2019 (Win32, Win64, ARM32, ARM64 respectively), MinGW (Win32 and Win64 respectively). For the current DOSBox-X version 0.83.13, these portable builds are separately available from:
|
||||||
|
@@ -353,8 +353,12 @@ bool Virtual_Drive::MakeDir(const char * dir) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool Virtual_Drive::TestDir(const char * dir) {
|
bool Virtual_Drive::TestDir(const char * dir) {
|
||||||
if (!dir[0]) return true; //only valid dir is the empty dir
|
if (!dir[0]) return true; //root directory
|
||||||
for (unsigned int i=1; i<vfpos; i++) if (!strcasecmp(vfsnames[i], dir)||!strcasecmp(vfnames[i], dir)) return true;
|
const VFILE_Block* cur_file = first_file;
|
||||||
|
while (cur_file) {
|
||||||
|
if (cur_file->isdir&&(!strcasecmp(cur_file->name, dir)||!strcasecmp(cur_file->lname, dir))) return true;
|
||||||
|
cur_file=cur_file->next;
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1114,6 +1114,7 @@ void SHELL_Init() {
|
|||||||
" time: New time to set\n"\
|
" time: New time to set\n"\
|
||||||
" /T: Display simple time\n"\
|
" /T: Display simple time\n"\
|
||||||
" /H: Synchronize with host\n");
|
" /H: Synchronize with host\n");
|
||||||
|
MSG_Add("SHELL_CMD_MKDIR_EXIST","Directory already exists - %s\n");
|
||||||
MSG_Add("SHELL_CMD_MKDIR_ERROR","Unable to create directory - %s\n");
|
MSG_Add("SHELL_CMD_MKDIR_ERROR","Unable to create directory - %s\n");
|
||||||
MSG_Add("SHELL_CMD_RMDIR_ERROR","Invalid path, not directory, or directory not empty - %s\n");
|
MSG_Add("SHELL_CMD_RMDIR_ERROR","Invalid path, not directory, or directory not empty - %s\n");
|
||||||
MSG_Add("SHELL_CMD_RENAME_ERROR","Unable to rename - %s\n");
|
MSG_Add("SHELL_CMD_RENAME_ERROR","Unable to rename - %s\n");
|
||||||
|
@@ -1358,7 +1358,7 @@ void DOS_Shell::CMD_MKDIR(char * args) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!DOS_MakeDir(args)) {
|
if (!DOS_MakeDir(args)) {
|
||||||
WriteOut(MSG_Get("SHELL_CMD_MKDIR_ERROR"),args);
|
WriteOut(MSG_Get(dos.errorcode==DOSERR_ACCESS_DENIED?"SHELL_CMD_MKDIR_EXIST":"SHELL_CMD_MKDIR_ERROR"),args);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user