mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 08:30:21 +00:00
[HAL] Return correct bus handler in HaliFindBusAddressTranslation
This fixes the bug when VidInitialize asks for different translated addresses and VgaIsPresent always returns FALSE either because the machine does not have VGA controller at all (e.g. 86Duino Zero), or it does have video hardware that is not compatible with VGA standard (e.g. Original Xbox). The problem investigated by Stanislav Motylkov. Suggested fix by Thomas Faber. CORE-14625 CORE-16216 CORE-16222 Co-authored-by: Thomas Faber <thomas.faber@reactos.org>
This commit is contained in:
parent
99fe069ce6
commit
17bb6d10eb
1 changed files with 1 additions and 1 deletions
|
@ -1319,7 +1319,7 @@ HaliFindBusAddressTranslation(IN PHYSICAL_ADDRESS BusAddress,
|
|||
}
|
||||
|
||||
/* If we made it, we're done */
|
||||
*Context = (ULONG_PTR)Handler;
|
||||
*Context = (ULONG_PTR)&BusHandler->Handler;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue