mirror of
https://github.com/yuzu-emu/yuzu-mainline
synced 2024-11-23 04:23:46 +00:00
memory_manager: Remove useless assertion
num_pages is an std::size_t. It will always be >= 0
This commit is contained in:
parent
2f2df9a4a7
commit
38868e5750
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue