mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-24 21:41:20 -08: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
@ -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
|
// Only succeed if we allocated as many pages as we wanted
|
||||||
ASSERT(num_pages >= 0);
|
|
||||||
if (num_pages) {
|
if (num_pages) {
|
||||||
return ERR_OUT_OF_MEMORY;
|
return ERR_OUT_OF_MEMORY;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user