More conformant implementation of ExAllocatePool and ExAllocatePoolWithTag

This commit is contained in:
Echelon9 2013-04-07 17:14:52 +10:00
parent e339af5e15
commit ffe15fa11a
1 changed files with 3 additions and 3 deletions

View File

@ -1320,7 +1320,7 @@ XBSYSAPI EXPORTNUM(14) xboxkrnl::PVOID NTAPI xboxkrnl::ExAllocatePool
");\n",
GetCurrentThreadId(), NumberOfBytes);
PVOID pRet = CxbxMalloc(NumberOfBytes);
PVOID pRet = ExAllocatePoolWithTag(NumberOfBytes, (ULONG)"enoN");
EmuSwapFS(); // Xbox FS
@ -1344,9 +1344,9 @@ XBSYSAPI EXPORTNUM(15) xboxkrnl::PVOID NTAPI xboxkrnl::ExAllocatePoolWithTag
DbgPrintf("EmuKrnl (0x%X): ExAllocatePoolWithTag\n"
"(\n"
" NumberOfBytes : 0x%.08X\n"
" Tag : 0x%.08X\n"
" Tag : 0x%.08X (%s)\n"
");\n",
GetCurrentThreadId(), NumberOfBytes, Tag);
GetCurrentThreadId(), NumberOfBytes, Tag, Tag);
// TODO: Actually implement this
PVOID pRet = CxbxMalloc(NumberOfBytes);