pgl: fix minor bugs in impl

This commit is contained in:
Michael Scire committed 2020-04-16 10:09:53 -07:00
1 parent db55e9f6b1
commit 2421ba6c96
3 files changed
+11 -4

No files matched your search

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