Use the virtual real-mode interrupt table if low DOS memory isn't

mapped.
This commit is contained in:
Ove Kaaven 2000-11-13 04:12:12 +00:00 committed by Alexandre Julliard
parent b27ee9b89d
commit f39a69a51d
1 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ void INT_SetPMHandler( BYTE intnum, FARPROC16 handler )
*/ */
FARPROC16 INT_GetRMHandler( BYTE intnum ) FARPROC16 INT_GetRMHandler( BYTE intnum )
{ {
return ((FARPROC16*)DOSMEM_MemoryBase())[intnum]; return ((FARPROC16*)DOSMEM_SystemBase())[intnum];
} }
@ -77,7 +77,7 @@ void INT_SetRMHandler( BYTE intnum, FARPROC16 handler )
{ {
TRACE("Set real mode interrupt vector %02x <- %04x:%04x\n", TRACE("Set real mode interrupt vector %02x <- %04x:%04x\n",
intnum, HIWORD(handler), LOWORD(handler) ); intnum, HIWORD(handler), LOWORD(handler) );
((FARPROC16*)DOSMEM_MemoryBase())[intnum] = handler; ((FARPROC16*)DOSMEM_SystemBase())[intnum] = handler;
} }