pgl: fix minor bugs in impl

This commit is contained in:
Michael Scire
2020-04-16 10:09:53 -07:00
parent db55e9f6b1
commit 2421ba6c96
3 changed files with 11 additions and 4 deletions

View File

@@ -169,7 +169,7 @@ namespace ams::fssystem {
if (this->size > ideal_size) {
/* If we do, we need to have a buffer allocated from the heap. */
AMS_ASSERT(this->buffer != nullptr);
AMS_ASSERT(g_heap.GetBlockSize(), HeapBlockSize);
AMS_ASSERT(g_heap.GetBlockSize() == HeapBlockSize);
const size_t new_size = util::AlignUp(ideal_size, HeapBlockSize);