summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar liamwhite2023-10-02 18:05:55 -0400
committerGravatar GitHub2023-10-02 18:05:55 -0400
commit7a0da729b45ae2794e84af6808c50cb714d17fc5 (patch)
tree3c0a84a306b6b85f9bcd22a6b8b29cb306b9a852
parentMerge pull request #11652 from liamwhite/shutdown-goes-brrr (diff)
parentci: fix new codespell errors (diff)
downloadyuzu-7a0da729b45ae2794e84af6808c50cb714d17fc5.tar.gz
yuzu-7a0da729b45ae2794e84af6808c50cb714d17fc5.tar.xz
yuzu-7a0da729b45ae2794e84af6808c50cb714d17fc5.zip
Merge pull request #11657 from liamwhite/new-codespell
ci: fix new codespell errors
-rw-r--r--CMakeModules/GenerateSCMRev.cmake2
-rw-r--r--src/audio_core/renderer/command/mix/depop_prepare.h2
-rw-r--r--src/core/file_sys/vfs.h2
-rw-r--r--src/core/hle/kernel/k_memory_layout.cpp2
-rw-r--r--src/input_common/drivers/virtual_gamepad.h2
-rw-r--r--src/input_common/helpers/joycon_protocol/generic_functions.h2
-rw-r--r--src/shader_recompiler/backend/glasm/emit_glasm_composite.cpp2
-rw-r--r--src/video_core/dma_pusher.h2
-rw-r--r--src/video_core/texture_cache/image_base.h2
-rw-r--r--src/video_core/texture_cache/util.cpp2
-rw-r--r--src/video_core/vulkan_common/vulkan_device.h2
11 files changed, 11 insertions, 11 deletions
diff --git a/CMakeModules/GenerateSCMRev.cmake b/CMakeModules/GenerateSCMRev.cmake
index 2cdb9189a..1d4aa979d 100644
--- a/CMakeModules/GenerateSCMRev.cmake
+++ b/CMakeModules/GenerateSCMRev.cmake
@@ -1,7 +1,7 @@
1# SPDX-FileCopyrightText: 2019 yuzu Emulator Project 1# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
2# SPDX-License-Identifier: GPL-2.0-or-later 2# SPDX-License-Identifier: GPL-2.0-or-later
3 3
4# Gets a UTC timstamp and sets the provided variable to it 4# Gets a UTC timestamp and sets the provided variable to it
5function(get_timestamp _var) 5function(get_timestamp _var)
6 string(TIMESTAMP timestamp UTC) 6 string(TIMESTAMP timestamp UTC)
7 set(${_var} "${timestamp}" PARENT_SCOPE) 7 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.h
index 161a94461..a0cc228f7 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 {
16 16
17/** 17/**
18 * AudioRenderer command for preparing depop. 18 * AudioRenderer command for preparing depop.
19 * Adds the previusly output last samples to the depop buffer. 19 * Adds the previously output last samples to the depop buffer.
20 */ 20 */
21struct DepopPrepareCommand : ICommand { 21struct DepopPrepareCommand : ICommand {
22 /** 22 /**
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:
175 return Write(reinterpret_cast<const u8*>(&data), sizeof(T), offset); 175 return Write(reinterpret_cast<const u8*>(&data), sizeof(T), offset);
176 } 176 }
177 177
178 // Renames the file to name. Returns whether or not the operation was successsful. 178 // Renames the file to name. Returns whether or not the operation was successful.
179 virtual bool Rename(std::string_view name) = 0; 179 virtual bool Rename(std::string_view name) = 0;
180 180
181 // Returns the full path of this file as a string, recursively 181 // 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
61 found->Reset(address, inserted_region_last, old_pair, new_attr, type_id); 61 found->Reset(address, inserted_region_last, old_pair, new_attr, type_id);
62 this->insert(*found); 62 this->insert(*found);
63 } else { 63 } else {
64 // If we can't re-use, adjust the old region. 64 // If we can't reuse, adjust the old region.
65 found->Reset(old_address, address - 1, old_pair, old_attr, old_type); 65 found->Reset(old_address, address - 1, old_pair, old_attr, old_type);
66 this->insert(*found); 66 this->insert(*found);
67 67
diff --git a/src/input_common/drivers/virtual_gamepad.h b/src/input_common/drivers/virtual_gamepad.h
index dfbc45a28..3a40e3fd3 100644
--- a/src/input_common/drivers/virtual_gamepad.h
+++ b/src/input_common/drivers/virtual_gamepad.h
@@ -67,7 +67,7 @@ public:
67 * @param player_index the player number that will take this action 67 * @param player_index the player number that will take this action
68 * @param delta_timestamp time passed since last reading 68 * @param delta_timestamp time passed since last reading
69 * @param gyro_x,gyro_y,gyro_z the gyro sensor readings 69 * @param gyro_x,gyro_y,gyro_z the gyro sensor readings
70 * @param accel_x,accel_y,accel_z the acelerometer reading 70 * @param accel_x,accel_y,accel_z the accelerometer reading
71 */ 71 */
72 void SetMotionState(std::size_t player_index, u64 delta_timestamp, float gyro_x, float gyro_y, 72 void SetMotionState(std::size_t player_index, u64 delta_timestamp, float gyro_x, float gyro_y,
73 float gyro_z, float accel_x, float accel_y, float accel_z); 73 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.h
index 90fcd17f6..b94567f82 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:
55 55
56 /** 56 /**
57 * Configures the motion sensor with the specified parameters 57 * Configures the motion sensor with the specified parameters
58 * @param gsen gyroscope sensor sensitvity in degrees per second 58 * @param gsen gyroscope sensor sensitivity in degrees per second
59 * @param gfrec gyroscope sensor frequency in hertz 59 * @param gfrec gyroscope sensor frequency in hertz
60 * @param asen accelerometer sensitivity in G force 60 * @param asen accelerometer sensitivity in G force
61 * @param afrec accelerometer frequency in hertz 61 * @param afrec accelerometer frequency in hertz
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_composite.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_composite.cpp
index d508ee567..4e8ba4ae6 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
55 "MOV.{} {}.{},{};", 55 "MOV.{} {}.{},{};",
56 type, ret, composite, type, ret, swizzle, object); 56 type, ret, composite, type, ret, swizzle, object);
57 } else { 57 } else {
58 // The return value is alised so we can just insert the object, it doesn't matter if it's 58 // The return value is aliased so we can just insert the object, it doesn't matter if it's
59 // aliased 59 // aliased
60 ctx.Add("MOV.{} {}.{},{};", type, ret, swizzle, object); 60 ctx.Add("MOV.{} {}.{},{};", type, ret, swizzle, object);
61 } 61 }
diff --git a/src/video_core/dma_pusher.h b/src/video_core/dma_pusher.h
index c9fab2d90..e46a8fa5c 100644
--- a/src/video_core/dma_pusher.h
+++ b/src/video_core/dma_pusher.h
@@ -161,7 +161,7 @@ private:
161 u32 method_count; ///< Current method count 161 u32 method_count; ///< Current method count
162 u32 length_pending; ///< Large NI command length pending 162 u32 length_pending; ///< Large NI command length pending
163 GPUVAddr dma_get; ///< Currently read segment 163 GPUVAddr dma_get; ///< Currently read segment
164 u64 dma_word_offset; ///< Current word ofset from address 164 u64 dma_word_offset; ///< Current word offset from address
165 bool non_incrementing; ///< Current command's NI flag 165 bool non_incrementing; ///< Current command's NI flag
166 bool is_last_call; 166 bool is_last_call;
167 }; 167 };
diff --git a/src/video_core/texture_cache/image_base.h b/src/video_core/texture_cache/image_base.h
index 55d49d017..0587d7b72 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 {
41 IsRescalable = 1 << 15, 41 IsRescalable = 1 << 15,
42 42
43 AsynchronousDecode = 1 << 16, 43 AsynchronousDecode = 1 << 16,
44 IsDecoding = 1 << 17, ///< Is currently being decoded asynchornously. 44 IsDecoding = 1 << 17, ///< Is currently being decoded asynchronously.
45}; 45};
46DECLARE_ENUM_FLAG_OPERATORS(ImageFlagBits) 46DECLARE_ENUM_FLAG_OPERATORS(ImageFlagBits)
47 47
diff --git a/src/video_core/texture_cache/util.cpp b/src/video_core/texture_cache/util.cpp
index a83f5d41c..0a86ce139 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, const
1195 return std::nullopt; 1195 return std::nullopt;
1196 } 1196 }
1197 } else { 1197 } else {
1198 // Format comaptibility is not relaxed, ensure we are creating a view on a compatible format 1198 // Format compatibility is not relaxed, ensure we are creating a view on a compatible format
1199 if (!IsViewCompatible(existing.format, candidate.format, broken_views, native_bgr)) { 1199 if (!IsViewCompatible(existing.format, candidate.format, broken_views, native_bgr)) {
1200 return std::nullopt; 1200 return std::nullopt;
1201 } 1201 }
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h
index 9be612392..282a2925d 100644
--- a/src/video_core/vulkan_common/vulkan_device.h
+++ b/src/video_core/vulkan_common/vulkan_device.h
@@ -314,7 +314,7 @@ public:
314 return GetDriverID() != VK_DRIVER_ID_QUALCOMM_PROPRIETARY; 314 return GetDriverID() != VK_DRIVER_ID_QUALCOMM_PROPRIETARY;
315 } 315 }
316 316
317 /// Returns true if the device suppors float64 natively. 317 /// Returns true if the device supports float64 natively.
318 bool IsFloat64Supported() const { 318 bool IsFloat64Supported() const {
319 return features.features.shaderFloat64; 319 return features.features.shaderFloat64;
320 } 320 }