Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
bcb09c19
Commit
bcb09c19
authored
Nov 04, 2003
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Nov 04, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The CDDA case of CDROM_RawRead() no longer works on FreeBSD -CURRENT,
remove it. Also, combine the FreeBSD and NetBSD NYI notes.
parent
e63e39f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
27 deletions
+4
-27
cdrom.c
dlls/ntdll/cdrom.c
+4
-27
No files found.
dlls/ntdll/cdrom.c
View file @
bcb09c19
...
...
@@ -1350,10 +1350,8 @@ static NTSTATUS CDROM_RawRead(int dev, const RAW_READ_INFO* raw, void* buffer, D
return
ret
;
}
}
#el
if defined(__FreeBSD__)
#el
se
{
struct
ioc_read_audio
ira
;
switch
(
raw
->
TrackMode
)
{
case
YellowMode2
:
...
...
@@ -1363,33 +1361,12 @@ static NTSTATUS CDROM_RawRead(int dev, const RAW_READ_INFO* raw, void* buffer, D
FIXME
(
"XAForm2: NIY
\n
"
);
return
ret
;
case
CDDA
:
/* 2048 = 2 ** 11 */
if
(
raw
->
DiskOffset
.
s
.
HighPart
&
~
2047
)
FIXME
(
"Unsupported value
\n
"
);
ira
.
address
.
lba
=
((
raw
->
DiskOffset
.
s
.
LowPart
>>
11
)
|
raw
->
DiskOffset
.
s
.
HighPart
<<
(
32
-
11
))
-
1
;
ira
.
address_format
=
CD_LBA_FORMAT
;
ira
.
nframes
=
raw
->
SectorCount
;
ira
.
buffer
=
buffer
;
io
=
ioctl
(
cdrom_cache
[
dev
].
fd
,
CDIOCREADAUDIO
,
&
ira
);
break
;
}
}
#elif defined(__NetBSD__)
{
switch
(
raw
->
TrackMode
)
{
case
YellowMode2
:
FIXME
(
"YellowMode2: NIY
\n
"
);
return
ret
;
case
XAForm2
:
FIXME
(
"XAForm2: NIY
\n
"
);
FIXME
(
"CDDA: NIY
\n
"
);
return
ret
;
case
CDDA
:
FIXME
(
"CDDA: NIY
\n
"
);
return
ret
;
}
}
}
#endif
*
sz
=
sectSize
*
raw
->
SectorCount
;
ret
=
CDROM_GetStatusCode
(
io
);
return
ret
;
...
...
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