Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
afd0590b
Commit
afd0590b
authored
Mar 13, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevdm: Try DOSBox first for running DOS applications.
parent
6ac1cc68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
winevdm.c
programs/winevdm/winevdm.c
+3
-3
No files found.
programs/winevdm/winevdm.c
View file @
afd0590b
...
...
@@ -215,6 +215,8 @@ static void start_dos_exe( LPCSTR filename, LPCSTR cmdline )
MEMORY_BASIC_INFORMATION
mem_info
;
const
char
*
reason
;
start_dosbox
(
filename
,
cmdline
);
if
(
VirtualQuery
(
NULL
,
&
mem_info
,
sizeof
(
mem_info
)
)
&&
mem_info
.
State
!=
MEM_FREE
)
{
__wine_load_dos_exe
(
filename
,
cmdline
);
...
...
@@ -225,11 +227,9 @@ static void start_dos_exe( LPCSTR filename, LPCSTR cmdline )
}
else
reason
=
"because the DOS memory range is unavailable"
;
start_dosbox
(
filename
,
cmdline
);
WINE_MESSAGE
(
"winevdm: Cannot start DOS application %s
\n
"
,
filename
);
WINE_MESSAGE
(
" %s.
\n
"
,
reason
);
WINE_MESSAGE
(
"
Try running this application with
DOSBox.
\n
"
);
WINE_MESSAGE
(
"
You should install
DOSBox.
\n
"
);
ExitProcess
(
1
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment