mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-18 11:58:14 +00:00
- Check the return value from *_GETNUMDEVS message as per KB90562.
- Fix typo in MMDRV_InstallMap.
This commit is contained in:
parent
78b64795d7
commit
155c8acfbd
|
@ -85,7 +85,7 @@ void MMDRV_InstallMap(unsigned int drv,
|
|||
llTypes[drv].Map16To32A = mp1632;
|
||||
llTypes[drv].UnMap16To32A = um1632;
|
||||
llTypes[drv].Map32ATo16 = mp3216;
|
||||
llTypes[drv].UnMap32ATo16 = um1632;
|
||||
llTypes[drv].UnMap32ATo16 = um3216;
|
||||
llTypes[drv].Callback = cb;
|
||||
}
|
||||
|
||||
|
@ -561,6 +561,9 @@ static BOOL MMDRV_InitPerType(LPWINE_MM_DRIVER lpDrv, UINT type, UINT wMsg)
|
|||
}
|
||||
|
||||
TRACE("Got %u dev for (%s:%s)\n", count, lpDrv->drvname, llTypes[type].typestr);
|
||||
|
||||
if (HIWORD(count))
|
||||
return FALSE;
|
||||
|
||||
/* got some drivers */
|
||||
if (lpDrv->bIsMapper) {
|
||||
|
|
Loading…
Reference in a new issue