Fill BIOS segments using pointers from DOSMEM_Bios* functions, instead

of pointers from global heap functions.
This commit is contained in:
Ove Kaaven 2000-07-29 21:53:49 +00:00 committed by Alexandre Julliard
parent 62f059f6fe
commit bf5ceb9ebc
1 changed files with 2 additions and 2 deletions

View File

@ -169,9 +169,9 @@ struct _DOS_LISTOFLISTS * DOSMEM_LOL()
*/
static void DOSMEM_FillBiosSegments(void)
{
BYTE *pBiosSys = (BYTE *)GlobalLock16( DOSMEM_BiosSysSeg );
BYTE *pBiosSys = DOSMEM_BiosSys();
BYTE *pBiosROMTable = pBiosSys+0xe6f5;
BIOSDATA *pBiosData = (BIOSDATA *)GlobalLock16( DOSMEM_BiosDataSeg );
BIOSDATA *pBiosData = DOSMEM_BiosData();
/* bogus 0xe0xx addresses !! Adapt int 0x10/0x1b if change needed */
VIDEOFUNCTIONALITY *pVidFunc = (VIDEOFUNCTIONALITY *)(pBiosSys+0xe000);