mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
Leave INT 2Fh clipboard disabled by default, some programs think Windows is running if they detect it [https://github.com/joncampbell123/dosbox-x/issues/5025]
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
Next:
|
||||
- The DOSBox clipboard API (via INT 2Fh) is now disabled by default, because
|
||||
some programs use it's presence to detect whether they are running under
|
||||
Windows. This fixes a program where Norton Desktop 1.0 does not use it's
|
||||
"graphical" text UI elements because it thinks it's running within a
|
||||
Windows DOS box. (joncampbell123).
|
||||
- Remove unnecessary and useless Win32 fcntl() on some memory typecast
|
||||
to int which is causing a segfault whenever a ZIP file is mounted
|
||||
as a drive with an overlay filesystem atop it. (joncampbell123)
|
||||
|
@@ -4783,8 +4783,9 @@ void DOSBOX_SetupConfigSections(void) {
|
||||
"It has no effect if \"dos clipboard device enable\" is disabled, and it is deactivated if the secure mode is enabled.");
|
||||
Pstring->SetBasic(true);
|
||||
|
||||
Pbool = secprop->Add_bool("dos clipboard api",Property::Changeable::WhenIdle, true);
|
||||
Pbool->Set_help("If set, DOS APIs for communications with the Windows clipboard will be enabled for shared clipboard communications.");
|
||||
Pbool = secprop->Add_bool("dos clipboard api",Property::Changeable::WhenIdle, false);
|
||||
Pbool->Set_help("If set, DOS APIs for communications with the Windows clipboard will be enabled for shared clipboard communications.\n"
|
||||
"Caution: Enabling this API may cause some programs to think they are running under Windows");
|
||||
Pbool->SetBasic(true);
|
||||
|
||||
Pbool = secprop->Add_bool("dos idle api",Property::Changeable::OnlyAtStart,true);
|
||||
|
Reference in New Issue
Block a user