From 50eee9b2185c59c32fb82cf464230a058edd10ea Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 12 Aug 2023 15:18:55 -0400 Subject: fssystem: rework for yuzu style --- .../file_sys/fssystem/fssystem_aes_ctr_counter_extended_storage.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core/file_sys/fssystem/fssystem_aes_ctr_counter_extended_storage.cpp') diff --git a/src/core/file_sys/fssystem/fssystem_aes_ctr_counter_extended_storage.cpp b/src/core/file_sys/fssystem/fssystem_aes_ctr_counter_extended_storage.cpp index bf189c606..f25c95472 100644 --- a/src/core/file_sys/fssystem/fssystem_aes_ctr_counter_extended_storage.cpp +++ b/src/core/file_sys/fssystem/fssystem_aes_ctr_counter_extended_storage.cpp @@ -126,7 +126,7 @@ Result AesCtrCounterExtendedStorage::GetEntryList(Entry* out_entries, s32* out_e auto cur_entry = *visitor.Get(); while (cur_entry.GetOffset() < end_offset) { - // Try to write the entry to the out list + // Try to write the entry to the out list. if (entry_count != 0) { if (count >= entry_count) { break; @@ -152,7 +152,6 @@ Result AesCtrCounterExtendedStorage::GetEntryList(Entry* out_entries, s32* out_e size_t AesCtrCounterExtendedStorage::Read(u8* buffer, size_t size, size_t offset) const { // Validate preconditions. - ASSERT(offset >= 0); ASSERT(this->IsInitialized()); // Allow zero size. -- cgit v1.2.3