This commit is contained in:
PatrickvL 2016-12-11 22:56:22 +01:00
parent 68d60d0cb2
commit 0dea41a0d3
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ extern thread_local std::string _logPrefix;
// LOG_FUNC_FORWARD indicates that an api is implemented by a forward to another API
#define LOG_FUNC_FORWARD(api) \
std::cout << _logPrefix << __func__ << " forwarding to "#api"...\n";
std::cout << _logPrefix << __func__ << " forwarding to "#api"...\n";
// LOG_FUNC_RESULT logs the function return result
#define LOG_FUNC_RESULT(r) \

View File

@ -82,7 +82,7 @@ XBSYSAPI EXPORTNUM(66) xboxkrnl::NTSTATUS NTAPI xboxkrnl::IoCreateFile
NativeObjectAttributes nativeObjectAttributes;
NTSTATUS ret = CxbxObjectAttributesToNT(ObjectAttributes, nativeObjectAttributes, "NtCreateFile"); /*var*/
NTSTATUS ret = CxbxObjectAttributesToNT(ObjectAttributes, nativeObjectAttributes, "IoCreateFile"); /*var*/
// redirect to NtCreateFile
ret = NtDll::NtCreateFile(