VERY experimental Nintendo Switch 2 emulator
C++
ci: fix new codespell errors
Liam445d504f94f2
diff --git a/CMakeModules/GenerateSCMRev.cmake b/CMakeModules/GenerateSCMRev.cmakeindex 2cdb9189ad..1d4aa979d3 100644--- a/CMakeModules/GenerateSCMRev.cmake+++ b/CMakeModules/GenerateSCMRev.cmake@@ -1,7 +1,7 @@# SPDX-FileCopyrightText: 2019 yuzu Emulator Project# SPDX-License-Identifier: GPL-2.0-or-later-# Gets a UTC timstamp and sets the provided variable to it+# Gets a UTC timestamp and sets the provided variable to itfunction(get_timestamp _var)string(TIMESTAMP timestamp UTC)set(${_var} "${timestamp}" PARENT_SCOPE)diff --git a/src/audio_core/renderer/command/mix/depop_prepare.h b/src/audio_core/renderer/command/mix/depop_prepare.hindex 161a94461d..a0cc228f7c 100644--- a/src/audio_core/renderer/command/mix/depop_prepare.h+++ b/src/audio_core/renderer/command/mix/depop_prepare.h@@ -16,7 +16,7 @@ namespace AudioCore::Renderer {/*** AudioRenderer command for preparing depop.- * Adds the previusly output last samples to the depop buffer.+ * Adds the previously output last samples to the depop buffer.*/struct DepopPrepareCommand : ICommand {/**diff --git a/src/core/file_sys/vfs.h b/src/core/file_sys/vfs.hindex a93e21f67d..a7cd1cae3c 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, recursivelydiff --git a/src/core/hle/kernel/k_memory_layout.cpp b/src/core/hle/kernel/k_memory_layout.cppindex af40092c02..bec7146688 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_atfound->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);diff --git a/src/input_common/drivers/virtual_gamepad.h b/src/input_common/drivers/virtual_gamepad.hindex dfbc45a281..3a40e3fd30 100644--- a/src/input_common/drivers/virtual_gamepad.h+++ b/src/input_common/drivers/virtual_gamepad.h@@ -67,7 +67,7 @@ public:* @param player_index the player number that will take this action* @param delta_timestamp time passed since last reading* @param gyro_x,gyro_y,gyro_z the gyro sensor readings- * @param accel_x,accel_y,accel_z the acelerometer reading+ * @param accel_x,accel_y,accel_z the accelerometer reading*/void SetMotionState(std::size_t player_index, u64 delta_timestamp, float gyro_x, float gyro_y,float gyro_z, float accel_x, float accel_y, float accel_z);diff --git a/src/input_common/helpers/joycon_protocol/generic_functions.h b/src/input_common/helpers/joycon_protocol/generic_functions.hindex 90fcd17f6c..b94567f82b 100644--- a/src/input_common/helpers/joycon_protocol/generic_functions.h+++ b/src/input_common/helpers/joycon_protocol/generic_functions.h@@ -55,7 +55,7 @@ public:/*** Configures the motion sensor with the specified parameters- * @param gsen gyroscope sensor sensitvity in degrees per second+ * @param gsen gyroscope sensor sensitivity in degrees per second* @param gfrec gyroscope sensor frequency in hertz* @param asen accelerometer sensitivity in G force* @param afrec accelerometer frequency in hertzdiff --git a/src/shader_recompiler/backend/glasm/emit_glasm_composite.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_composite.cppindex d508ee567b..4e8ba4ae65 100644--- a/src/shader_recompiler/backend/glasm/emit_glasm_composite.cpp+++ b/src/shader_recompiler/backend/glasm/emit_glasm_composite.cpp@@ -55,7 +55,7 @@ void CompositeInsert(EmitContext& ctx, IR::Inst& inst, Register composite, Objec"MOV.{} {}.{},{};",type, ret, composite, type, ret, swizzle, object);} else {- // The return value is alised so we can just insert the object, it doesn't matter if it's+ // The return value is aliased so we can just insert the object, it doesn't matter if it's// aliasedctx.Add("MOV.{} {}.{},{};", type, ret, swizzle, object);}diff --git a/src/video_core/dma_pusher.h b/src/video_core/dma_pusher.hindex c9fab2d903..e46a8fa5c6 100644--- a/src/video_core/dma_pusher.h+++ b/src/video_core/dma_pusher.h@@ -161,7 +161,7 @@ private:u32 method_count; ///< Current method countu32 length_pending; ///< Large NI command length pendingGPUVAddr dma_get; ///< Currently read segment- u64 dma_word_offset; ///< Current word ofset from address+ u64 dma_word_offset; ///< Current word offset from addressbool non_incrementing; ///< Current command's NI flagbool is_last_call;};diff --git a/src/video_core/texture_cache/image_base.h b/src/video_core/texture_cache/image_base.hindex 55d49d0178..0587d7b724 100644--- a/src/video_core/texture_cache/image_base.h+++ b/src/video_core/texture_cache/image_base.h@@ -41,7 +41,7 @@ enum class ImageFlagBits : u32 {IsRescalable = 1 << 15,AsynchronousDecode = 1 << 16,- IsDecoding = 1 << 17, ///< Is currently being decoded asynchornously.+ IsDecoding = 1 << 17, ///< Is currently being decoded asynchronously.};DECLARE_ENUM_FLAG_OPERATORS(ImageFlagBits)diff --git a/src/video_core/texture_cache/util.cpp b/src/video_core/texture_cache/util.cppindex a83f5d41cf..0a86ce1390 100644--- a/src/video_core/texture_cache/util.cpp+++ b/src/video_core/texture_cache/util.cpp@@ -1195,7 +1195,7 @@ std::optional<SubresourceBase> FindSubresource(const ImageInfo& candidate, constreturn std::nullopt;}} else {- // Format comaptibility is not relaxed, ensure we are creating a view on a compatible format+ // Format compatibility is not relaxed, ensure we are creating a view on a compatible formatif (!IsViewCompatible(existing.format, candidate.format, broken_views, native_bgr)) {return std::nullopt;}diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.hindex 9be6123920..282a2925d7 100644--- a/src/video_core/vulkan_common/vulkan_device.h+++ b/src/video_core/vulkan_common/vulkan_device.h@@ -314,7 +314,7 @@ public:return GetDriverID() != VK_DRIVER_ID_QUALCOMM_PROPRIETARY;}- /// Returns true if the device suppors float64 natively.+ /// Returns true if the device supports float64 natively.bool IsFloat64Supported() const {return features.features.shaderFloat64;}