From dc586f850967c8c0a09df391a9fa6a1e23b917ad Mon Sep 17 00:00:00 2001 From: Luke Usher Date: Wed, 14 Feb 2018 07:02:30 +0000 Subject: [PATCH] Disable a few warnings that are not essential --- src/CxbxKrnl/EmuKrnlRtl.cpp | 2 +- src/CxbxKrnl/VMManager.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CxbxKrnl/EmuKrnlRtl.cpp b/src/CxbxKrnl/EmuKrnlRtl.cpp index 26a29d986..e62f3d0d5 100644 --- a/src/CxbxKrnl/EmuKrnlRtl.cpp +++ b/src/CxbxKrnl/EmuKrnlRtl.cpp @@ -78,7 +78,7 @@ static void add_critical_section( critical_sections[xbox_crit_section] = host_crit_section; } else { - EmuWarning("Critical Section key %p already exists\n", xbox_crit_section); + DbgPrintf("Critical Section key %p already exists\n", xbox_crit_section); } } diff --git a/src/CxbxKrnl/VMManager.cpp b/src/CxbxKrnl/VMManager.cpp index 3ed8a5d04..a2f97c745 100644 --- a/src/CxbxKrnl/VMManager.cpp +++ b/src/CxbxKrnl/VMManager.cpp @@ -442,7 +442,7 @@ size_t VMManager::QuerySize(VAddr addr) --prev_it; } it = std::next(prev_it); - EmuWarning(LOG_PREFIX ": QuerySize : querying not the start address of an allocation"); + //EmuWarning(LOG_PREFIX ": QuerySize : querying not the start address of an allocation"); } // We can't just return the size of the vma because it could have been split by ReprotectVMARange so, instead, // we must check the corresponding physical allocation size