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
d210bc89
Commit
d210bc89
authored
Sep 22, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small cleanup.
parent
bf5f07a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
12 deletions
+4
-12
int21.c
msdos/int21.c
+4
-12
No files found.
msdos/int21.c
View file @
d210bc89
...
...
@@ -158,7 +158,7 @@ static BYTE *GetCurrentDTA( CONTEXT86 *context )
}
void
CreateBPB
(
int
drive
,
BYTE
*
data
,
BOOL16
limited
)
static
void
CreateBPB
(
int
drive
,
BYTE
*
data
,
BOOL16
limited
)
/* limited == TRUE is used with INT 0x21/0x440d */
{
if
(
drive
>
1
)
{
...
...
@@ -400,18 +400,10 @@ static void INT21_ParseFileNameIntoFCB( CONTEXT86 *context )
/* Many calls translate a drive argument like this:
drive number (00h = default, 01h = A:, etc)
*/
static
char
drivestring
[]
=
"default"
;
char
*
INT21_DriveName
(
int
drive
)
static
const
char
*
INT21_DriveName
(
int
drive
)
{
if
(
drive
>
0
)
{
drivestring
[
0
]
=
(
unsigned
char
)
drive
+
'@'
;
drivestring
[
1
]
=
':'
;
drivestring
[
2
]
=
0
;
}
return
drivestring
;
if
(
drive
>
0
)
return
wine_dbg_sprintf
(
"%c:"
,
'A'
+
drive
-
1
);
return
"default"
;
}
static
HFILE16
_lcreat16_uniq
(
LPCSTR
path
,
INT
attr
)
...
...
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