mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-05 20:39:16 +00:00
Fixed broken driver unloading on shutdown/crash
This commit is contained in:
@ -64,7 +64,7 @@ namespace Driver
|
||||
KernelAllocator.FreePages(KCallback, TO_PAGES(sizeof(KernelCallback)));
|
||||
|
||||
DriverFile *DrvFile = new DriverFile;
|
||||
DrvFile->DriverUID = KAPI.Info.DriverUID;
|
||||
DrvFile->DriverUID = this->DriverUIDs - 1;
|
||||
DrvFile->Address = (void *)fex;
|
||||
DrvFile->InterruptHook[0] = nullptr;
|
||||
Drivers.push_back(DrvFile);
|
||||
|
Reference in New Issue
Block a user