mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-15 12:17:01 +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:
|
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
|
- Remove unnecessary and useless Win32 fcntl() on some memory typecast
|
||||||
to int which is causing a segfault whenever a ZIP file is mounted
|
to int which is causing a segfault whenever a ZIP file is mounted
|
||||||
as a drive with an overlay filesystem atop it. (joncampbell123)
|
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.");
|
"It has no effect if \"dos clipboard device enable\" is disabled, and it is deactivated if the secure mode is enabled.");
|
||||||
Pstring->SetBasic(true);
|
Pstring->SetBasic(true);
|
||||||
|
|
||||||
Pbool = secprop->Add_bool("dos clipboard api",Property::Changeable::WhenIdle, true);
|
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.");
|
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->SetBasic(true);
|
||||||
|
|
||||||
Pbool = secprop->Add_bool("dos idle api",Property::Changeable::OnlyAtStart,true);
|
Pbool = secprop->Add_bool("dos idle api",Property::Changeable::OnlyAtStart,true);
|
||||||
|
Reference in New Issue
Block a user