summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-10-03 00:03:05 +0200
committerLiam <byteslice@airmail.cc>2023-10-03 00:03:05 +0200
commit0448eb6f0f60a1ac66565aacd378cf61f820487a (patch)
tree3c0a84a306b6b85f9bcd22a6b8b29cb306b9a852 /src/core
parentMerge pull request #11652 from liamwhite/shutdown-goes-brrr (diff)
downloadyuzu-0448eb6f0f60a1ac66565aacd378cf61f820487a.tar
yuzu-0448eb6f0f60a1ac66565aacd378cf61f820487a.tar.gz
yuzu-0448eb6f0f60a1ac66565aacd378cf61f820487a.tar.bz2
yuzu-0448eb6f0f60a1ac66565aacd378cf61f820487a.tar.lz
yuzu-0448eb6f0f60a1ac66565aacd378cf61f820487a.tar.xz
yuzu-0448eb6f0f60a1ac66565aacd378cf61f820487a.tar.zst
yuzu-0448eb6f0f60a1ac66565aacd378cf61f820487a.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/file_sys/vfs.h2
-rw-r--r--src/core/hle/kernel/k_memory_layout.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/vfs.h b/src/core/file_sys/vfs.h
index a93e21f67..a7cd1cae3 100644
--- a/src/core/file_sys/vfs.h
+++ b/src/core/file_sys/vfs.h
@@ -175,7 +175,7 @@ public:
return Write(reinterpret_cast<const u8*>(&data), sizeof(T), offset);
}
- // Renames the file to name. Returns whether or not the operation was successsful.
+ // Renames the file to name. Returns whether or not the operation was successful.
virtual bool Rename(std::string_view name) = 0;
// Returns the full path of this file as a string, recursively
diff --git a/src/core/hle/kernel/k_memory_layout.cpp b/src/core/hle/kernel/k_memory_layout.cpp
index af40092c0..bec714668 100644
--- a/src/core/hle/kernel/k_memory_layout.cpp
+++ b/src/core/hle/kernel/k_memory_layout.cpp
@@ -61,7 +61,7 @@ bool KMemoryRegionTree::Insert(u64 address, size_t size, u32 type_id, u32 new_at
found->Reset(address, inserted_region_last, old_pair, new_attr, type_id);
this->insert(*found);
} else {
- // If we can't re-use, adjust the old region.
+ // If we can't reuse, adjust the old region.
found->Reset(old_address, address - 1, old_pair, old_attr, old_type);
this->insert(*found);