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
12884304
Commit
12884304
authored
Jul 31, 2000
by
Ove Kaaven
Committed by
Alexandre Julliard
Jul 31, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DOS binary support has been restored.
parent
6b141176
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
process.c
scheduler/process.c
+9
-2
No files found.
scheduler/process.c
View file @
12884304
...
...
@@ -18,6 +18,7 @@
#include "main.h"
#include "module.h"
#include "neexe.h"
#include "dosexe.h"
#include "file.h"
#include "global.h"
#include "heap.h"
...
...
@@ -501,8 +502,14 @@ void PROCESS_InitWine( int argc, char *argv[] )
break
;
case
SCS_DOS_BINARY
:
FIXME
(
"DOS binaries support is broken at the moment; feel free to fix it...
\n
"
);
SetLastError
(
ERROR_BAD_FORMAT
);
{
HMODULE
main_module
;
/* create 32-bit module for main exe */
if
(
!
(
main_module
=
BUILTIN32_LoadExeModule
()))
goto
error
;
NtCurrentTeb
()
->
tibflags
&=
~
TEBF_WIN32
;
if
(
!
MZ_LoadImage
(
main_module
,
main_exe_file
,
main_exe_name
))
goto
error
;
PROCESS_Start
(
main_module
,
NULL
);
}
break
;
case
SCS_PIF_BINARY
:
...
...
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