diff --git a/libraries/libstratosphere/include/stratosphere/fssystem/fssystem_compressed_storage.hpp b/libraries/libstratosphere/include/stratosphere/fssystem/fssystem_compressed_storage.hpp index bd7ccfe92..0b28f2c58 100644 --- a/libraries/libstratosphere/include/stratosphere/fssystem/fssystem_compressed_storage.hpp +++ b/libraries/libstratosphere/include/stratosphere/fssystem/fssystem_compressed_storage.hpp @@ -492,7 +492,7 @@ namespace ams::fssystem { AMS_ASSERT(offset >= 0); AMS_ASSERT(this->IsInitialized()); - /* Succeed immediately, if we hvae nothing to read. */ + /* Succeed immediately, if we have nothing to read. */ R_SUCCEED_IF(size == 0); /* Declare read lambda. */ @@ -734,7 +734,7 @@ namespace ams::fssystem { } required_access_physical_size += physical_size + gap_from_prev; - /* Create an entry. to access the data storage. */ + /* Create an entry to access the data storage. */ entries[entry_count++] = { .compression_type = entry.compression_type, .gap_from_prev = static_cast(gap_from_prev), @@ -758,7 +758,7 @@ namespace ams::fssystem { .virtual_size = static_cast(read_size), }; } else { - /* We have no entries, we we can just perform the read. */ + /* We have no entries, so we can just perform the read. */ R_TRY(read_func(static_cast(read_size), util::MakeIFunction([&] (void *dst, size_t dst_size) -> Result { /* Check the space we should zero is correct. */ AMS_ASSERT(dst_size == static_cast(read_size)); diff --git a/libraries/libstratosphere/source/fssystem/fssystem_aes_ctr_counter_extended_storage.cpp b/libraries/libstratosphere/source/fssystem/fssystem_aes_ctr_counter_extended_storage.cpp index c5337f151..53430d10b 100644 --- a/libraries/libstratosphere/source/fssystem/fssystem_aes_ctr_counter_extended_storage.cpp +++ b/libraries/libstratosphere/source/fssystem/fssystem_aes_ctr_counter_extended_storage.cpp @@ -146,7 +146,7 @@ namespace ams::fssystem { 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; diff --git a/libraries/libstratosphere/source/fssystem/fssystem_bucket_tree.cpp b/libraries/libstratosphere/source/fssystem/fssystem_bucket_tree.cpp index 59c8bae97..4d1f2e1fd 100644 --- a/libraries/libstratosphere/source/fssystem/fssystem_bucket_tree.cpp +++ b/libraries/libstratosphere/source/fssystem/fssystem_bucket_tree.cpp @@ -191,7 +191,7 @@ namespace ams::fssystem { m_offset_cache.offsets.end_offset = end_offset; m_offset_cache.is_initialized = true; - /* Cancel guard. */ + /* We succeeded. */ R_SUCCEED(); } diff --git a/libraries/libstratosphere/source/fssystem/fssystem_indirect_storage.cpp b/libraries/libstratosphere/source/fssystem/fssystem_indirect_storage.cpp index 32995e761..47d061017 100644 --- a/libraries/libstratosphere/source/fssystem/fssystem_indirect_storage.cpp +++ b/libraries/libstratosphere/source/fssystem/fssystem_indirect_storage.cpp @@ -78,7 +78,7 @@ namespace ams::fssystem { auto cur_entry = *visitor.Get(); while (cur_entry.GetVirtualOffset() < 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; diff --git a/libraries/libstratosphere/source/fssystem/fssystem_nca_file_system_driver.cpp b/libraries/libstratosphere/source/fssystem/fssystem_nca_file_system_driver.cpp index 41b05ddad..514ec8476 100644 --- a/libraries/libstratosphere/source/fssystem/fssystem_nca_file_system_driver.cpp +++ b/libraries/libstratosphere/source/fssystem/fssystem_nca_file_system_driver.cpp @@ -256,7 +256,7 @@ namespace ams::fssystem { /* Process indirect layer. */ if (patch_info.HasIndirectTable()) { - /* Create the indirect meta storage */ + /* Create the indirect meta storage. */ std::shared_ptr indirect_storage_meta_storage = patch_meta_indirect_meta_storage; if (indirect_storage_meta_storage == nullptr) { /* If we don't have a meta storage, we must not have a patch meta hash layer. */