summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-06-26 04:53:13 +0200
committerGitHub <noreply@github.com>2020-06-26 04:53:13 +0200
commitc4fe83a7bc302acbefe0eedee48eabc671d33964 (patch)
tree4bca5b0aa7a8deb34f407e9657e3eb017bcdf8e5 /src/core/hle
parentMerge pull request #4151 from ReinUsesLisp/gl-invalidations (diff)
parentmemory_manager: Remove useless assertion (diff)
downloadyuzu-c4fe83a7bc302acbefe0eedee48eabc671d33964.tar
yuzu-c4fe83a7bc302acbefe0eedee48eabc671d33964.tar.gz
yuzu-c4fe83a7bc302acbefe0eedee48eabc671d33964.tar.bz2
yuzu-c4fe83a7bc302acbefe0eedee48eabc671d33964.tar.lz
yuzu-c4fe83a7bc302acbefe0eedee48eabc671d33964.tar.xz
yuzu-c4fe83a7bc302acbefe0eedee48eabc671d33964.tar.zst
yuzu-c4fe83a7bc302acbefe0eedee48eabc671d33964.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/kernel/memory/memory_manager.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/hle/kernel/memory/memory_manager.cpp b/src/core/hle/kernel/memory/memory_manager.cpp
index 616148190..acf13585c 100644
--- a/src/core/hle/kernel/memory/memory_manager.cpp
+++ b/src/core/hle/kernel/memory/memory_manager.cpp
@@ -139,7 +139,6 @@ ResultCode MemoryManager::Allocate(PageLinkedList& page_list, std::size_t num_pa
}
// Only succeed if we allocated as many pages as we wanted
- ASSERT(num_pages >= 0);
if (num_pages) {
return ERR_OUT_OF_MEMORY;
}