Commit f39a69a5 authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

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

mapped.
parent b27ee9b8
......@@ -64,7 +64,7 @@ void INT_SetPMHandler( BYTE intnum, FARPROC16 handler )
*/
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",
intnum, HIWORD(handler), LOWORD(handler) );
((FARPROC16*)DOSMEM_MemoryBase())[intnum] = handler;
((FARPROC16*)DOSMEM_SystemBase())[intnum] = handler;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment