From 949e93bec7ade8d5854b6bb71f00b862775e4f93 Mon Sep 17 00:00:00 2001 From: Malik Idrees Hasan Khan Date: Thu, 13 Jan 2022 03:51:02 +0530 Subject: [PATCH] Fix typos (#11361) --- rpcs3/rpcs3qt/tooltips.h | 2 +- rpcs3/util/serialization.hpp | 4 ++-- rpcs3/util/vm.hpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rpcs3/rpcs3qt/tooltips.h b/rpcs3/rpcs3qt/tooltips.h index 19bf06e0d4..739bbc6b38 100644 --- a/rpcs3/rpcs3qt/tooltips.h +++ b/rpcs3/rpcs3qt/tooltips.h @@ -42,7 +42,7 @@ public: // audio const QString audio_out = tr("Cubeb uses a cross-platform approach and supports audio buffering, so it is the recommended option.\nXAudio2 uses native Windows sounds system, is the next best alternative."); - const QString audio_out_linux = tr("Cubeb uses a cross-platform approach and supports audio buffering, so it is the recommended option.\nIf it's not availiable, FAudio could be used instead."); + const QString audio_out_linux = tr("Cubeb uses a cross-platform approach and supports audio buffering, so it is the recommended option.\nIf it's not available, FAudio could be used instead."); const QString audio_dump = tr("Saves all audio as a raw wave file. If unsure, leave this unchecked."); const QString convert = tr("Uses 16-bit audio samples instead of default 32-bit floating point.\nUse with buggy audio drivers if you have no sound or completely broken sound."); const QString downmix = tr("Uses chosen audio output instead of default 7.1 surround sound.\nUse downmix to stereo with stereo audio devices. Use 5.1 or higher only if you are using a surround sound audio system."); diff --git a/rpcs3/util/serialization.hpp b/rpcs3/util/serialization.hpp index 9feec519a6..12623db633 100644 --- a/rpcs3/util/serialization.hpp +++ b/rpcs3/util/serialization.hpp @@ -52,7 +52,7 @@ namespace utils std::vector data; usz pos = umax; - // Checks if this strcuture is currently used for serialization + // Checks if this instance is currently used for serialization bool is_writing() const { return pos == umax; @@ -133,7 +133,7 @@ namespace utils return ::serialize(*this, obj); } - // Enabled for fundamental types, enumerations and if specfied explicitly that type can be saved in pure bitwise manner + // Enabled for fundamental types, enumerations and if specified explicitly that type can be saved in pure bitwise manner template requires Bitcopy bool serialize(T& obj) { diff --git a/rpcs3/util/vm.hpp b/rpcs3/util/vm.hpp index f6b563096d..6518bdb1e1 100644 --- a/rpcs3/util/vm.hpp +++ b/rpcs3/util/vm.hpp @@ -17,7 +17,7 @@ namespace utils /** * Reserve `size` bytes of virtual memory and returns it. - * The memory should be commited before usage. + * The memory should be committed before usage. */ void* memory_reserve(usz size, void* use_addr = nullptr);