mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
for #2579
This commit is contained in:
11
CHANGELOG
11
CHANGELOG
@@ -1,7 +1,8 @@
|
||||
0.83.15
|
||||
- MOUNT command followed by a drive letter only will
|
||||
show the current status of the drive, or show that
|
||||
the drive is not mounted if so. (Wengier)
|
||||
the drive is not mounted if so. You can make the
|
||||
message shorter with the -q option. (Wengier)
|
||||
- The names of advanced config options will now be
|
||||
listed in the common config reference file (i.e.
|
||||
dosbox-x.reference.conf) too. Several previously
|
||||
@@ -11,9 +12,11 @@
|
||||
for the TrueType font (TTF) output too. This option
|
||||
is now enabled by default for JP mode. (Wengier)
|
||||
- Added support for inputing Chinese/Japanese/Korean
|
||||
characters from the system input method (IME) in
|
||||
Windows SDL build. There is a config option "ime"
|
||||
in [dosbox] section to control this. (Wengier)
|
||||
characters using the system input method (IME) in
|
||||
Windows SDL build. There is config option "ime" in
|
||||
[dosbox] section to control this. When set to "auto"
|
||||
(default), it is enabled for Windows SDL1 builds
|
||||
only if starting with a CJK code page. (Wengier)
|
||||
- Added support for DOS/V (Japanese mode) by adopting
|
||||
code from DOSVAXJ3. Set "dosv=jp" in [dos] section
|
||||
of the config file to enable it. (Wengier)
|
||||
|
@@ -1009,11 +1009,13 @@ public:
|
||||
}
|
||||
|
||||
//look for -o options
|
||||
bool local = false;
|
||||
{
|
||||
std::string s;
|
||||
|
||||
while (cmd->FindString("-o", s, true))
|
||||
while (cmd->FindString("-o", s, true)) {
|
||||
if (!strcasecmp(s.c_str(), "local")) local = true;
|
||||
options.push_back(s);
|
||||
}
|
||||
}
|
||||
|
||||
/* Check for moving Z: */
|
||||
@@ -1118,12 +1120,15 @@ public:
|
||||
if ((i_drive - 'A') >= DOS_DRIVES || (i_drive - 'A') < 0) goto showusage;
|
||||
if (!cmd->FindCommand(2,temp_line)) {
|
||||
if (Drives[i_drive - 'A']) {
|
||||
if (quiet) WriteOut("%s\n", Drives[i_drive - 'A']->GetInfo());
|
||||
else WriteOut(MSG_Get("PROGRAM_MOUNT_STATUS_2"), i_drive, Drives[i_drive - 'A']->GetInfo());
|
||||
} else {
|
||||
if (quiet) WriteOut("");
|
||||
else WriteOut(MSG_Get("PROGRAM_MOUNT_UMOUNT_NOT_MOUNTED"), i_drive);
|
||||
}
|
||||
const char *info = Drives[i_drive - 'A']->GetInfo();
|
||||
if (!quiet)
|
||||
WriteOut(MSG_Get("PROGRAM_MOUNT_STATUS_2"), i_drive, info+(local&&!strncasecmp("local ", info, 6)?16:0));
|
||||
else if (local&&!strncasecmp("local ", info, 6))
|
||||
WriteOut("%s\n", info+16);
|
||||
else if (!local)
|
||||
WriteOut("%s\n", info);
|
||||
} else if (!quiet)
|
||||
WriteOut(MSG_Get("PROGRAM_MOUNT_UMOUNT_NOT_MOUNTED"), i_drive);
|
||||
return;
|
||||
}
|
||||
if (!temp_line.size()) goto showusage;
|
||||
|
Reference in New Issue
Block a user