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
a488ee8e
Commit
a488ee8e
authored
Nov 24, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Fix the base DOS memory address when the low 64K are not accessible.
parent
d2c8bfbf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
dosmem.c
dlls/kernel32/dosmem.c
+3
-2
No files found.
dlls/kernel32/dosmem.c
View file @
a488ee8e
...
...
@@ -170,15 +170,16 @@ BOOL DOSMEM_Init(void)
ExitProcess
(
1
);
}
DOSMEM_dosmem
=
addr
;
if
(
!
addr
)
if
(
addr
<=
(
void
*
)
DOSMEM_64KB
)
{
DOSMEM_dosmem
=
0
;
DOSMEM_protect
=
DOSMEM_64KB
;
sysmem
=
(
char
*
)
0xf0000
;
/* store sysmem in high addresses for now */
}
else
{
WARN
(
"First megabyte not available for DOS address space.
\n
"
);
DOSMEM_dosmem
=
addr
;
DOSMEM_protect
=
0
;
sysmem
=
DOSMEM_dosmem
;
}
...
...
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