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
b3b3f4c0
Commit
b3b3f4c0
authored
Mar 16, 2004
by
Christian Costa
Committed by
Alexandre Julliard
Mar 16, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Default to FOURCC_DOS if no IOProc found.
parent
4bbeb429
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
mmio.c
dlls/winmm/mmio.c
+6
-1
No files found.
dlls/winmm/mmio.c
View file @
b3b3f4c0
...
...
@@ -633,7 +633,12 @@ HMMIO MMIO_Open(LPSTR szFileName, MMIOINFO* refmminfo, DWORD dwOpenFlags,
/* Handle any unhandled/error case. Assume DOS file */
if
(
wm
->
info
.
fccIOProc
==
0
)
wm
->
info
.
fccIOProc
=
FOURCC_DOS
;
if
(
!
(
wm
->
ioProc
=
MMIO_FindProcNode
(
wm
->
info
.
fccIOProc
)))
goto
error2
;
if
(
!
(
wm
->
ioProc
=
MMIO_FindProcNode
(
wm
->
info
.
fccIOProc
)))
{
/* If not found, retry with FOURCC_DOS */
wm
->
info
.
fccIOProc
=
FOURCC_DOS
;
if
(
!
(
wm
->
ioProc
=
MMIO_FindProcNode
(
wm
->
info
.
fccIOProc
)))
goto
error2
;
}
wm
->
bTmpIOProc
=
FALSE
;
}
/* if just the four character code is present, look up IO proc */
...
...
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