From 0dea41a0d30e3114d2f6ddf1889aedb4ac31cdcd Mon Sep 17 00:00:00 2001 From: PatrickvL Date: Sun, 11 Dec 2016 22:56:22 +0100 Subject: [PATCH] Typos --- src/Common/Logging.h | 2 +- src/CxbxKrnl/EmuKrnlIo.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Common/Logging.h b/src/Common/Logging.h index 46574e373..cb61afa01 100644 --- a/src/Common/Logging.h +++ b/src/Common/Logging.h @@ -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) \ diff --git a/src/CxbxKrnl/EmuKrnlIo.cpp b/src/CxbxKrnl/EmuKrnlIo.cpp index 996952454..d7e48b61f 100644 --- a/src/CxbxKrnl/EmuKrnlIo.cpp +++ b/src/CxbxKrnl/EmuKrnlIo.cpp @@ -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(