mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-01-31 20:50:36 +00:00
Fixed a bug in BSD code.
This commit is contained in:
parent
8f503d8209
commit
b227999f7a
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ void CDAudio_Update(void)
|
||||||
subchnl.data_format = CD_CURRENT_POSITION;
|
subchnl.data_format = CD_CURRENT_POSITION;
|
||||||
subchnl.track = 0;
|
subchnl.track = 0;
|
||||||
subchnl.data_len = sizeof(subchnldata);
|
subchnl.data_len = sizeof(subchnldata);
|
||||||
subchnl.data = &subchnl;
|
subchnl.data = &subchnldata;
|
||||||
#endif
|
#endif
|
||||||
if (ioctl(cdfile, CDROMSUBCHNL, &subchnl) == -1 ) {
|
if (ioctl(cdfile, CDROMSUBCHNL, &subchnl) == -1 ) {
|
||||||
Con_DPrintf("CD subcchannel ioctl failed\n");
|
Con_DPrintf("CD subcchannel ioctl failed\n");
|
||||||
|
|
Loading…
Reference in a new issue