yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

Merge pull request #4159 from ogniK5377/mem-manager-dumb-assert

memory_manager: Remove useless assertion
This commit is contained in:
bunnei 2020-06-25 22:53:13 -04:00 committed by GitHub
commit c4fe83a7bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}