git-svn-id: https://spexeah.com:8443/svn/Asuro@253 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c

This commit is contained in:
aaron 2017-10-25 19:37:21 +00:00
parent a4cf43061b
commit e3df25ce27

View File

@ -41,7 +41,7 @@ end;
procedure register(); procedure register();
begin begin
memset(uint32(@Hooks[0]), 0, sizeof(pp_hook_method)*MAX_HOOKS); memset(uint32(@Hooks[0]), 0, sizeof(pp_hook_method)*MAX_HOOKS);
IDT.set_gate(46, uint32(@Main), $08, ISR_RING_0); IDT.set_gate(76, uint32(@Main), $08, ISR_RING_0);
end; end;
procedure hook(hook_method : uint32); procedure hook(hook_method : uint32);