Merge pull request #11657 from liamwhite/new-codespell

ci: fix new codespell errors
This commit is contained in:
liamwhite 2023-10-02 18:05:55 -04:00 committed by GitHub
commit 7a0da729b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 11 additions and 11 deletions

View File

@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: 2019 yuzu Emulator Project # SPDX-FileCopyrightText: 2019 yuzu Emulator Project
# SPDX-License-Identifier: GPL-2.0-or-later # 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 it
function(get_timestamp _var) function(get_timestamp _var)
string(TIMESTAMP timestamp UTC) string(TIMESTAMP timestamp UTC)
set(${_var} "${timestamp}" PARENT_SCOPE) set(${_var} "${timestamp}" PARENT_SCOPE)

View File

@ -16,7 +16,7 @@ namespace AudioCore::Renderer {
/** /**
* AudioRenderer command for preparing depop. * 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 { struct DepopPrepareCommand : ICommand {
/** /**

View File

@ -175,7 +175,7 @@ public:
return Write(reinterpret_cast<const u8*>(&data), sizeof(T), offset); 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; virtual bool Rename(std::string_view name) = 0;
// Returns the full path of this file as a string, recursively // Returns the full path of this file as a string, recursively

View File

@ -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); found->Reset(address, inserted_region_last, old_pair, new_attr, type_id);
this->insert(*found); this->insert(*found);
} else { } 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); found->Reset(old_address, address - 1, old_pair, old_attr, old_type);
this->insert(*found); this->insert(*found);

View File

@ -67,7 +67,7 @@ public:
* @param player_index the player number that will take this action * @param player_index the player number that will take this action
* @param delta_timestamp time passed since last reading * @param delta_timestamp time passed since last reading
* @param gyro_x,gyro_y,gyro_z the gyro sensor readings * @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, 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); float gyro_z, float accel_x, float accel_y, float accel_z);

View File

@ -55,7 +55,7 @@ public:
/** /**
* Configures the motion sensor with the specified parameters * 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 gfrec gyroscope sensor frequency in hertz
* @param asen accelerometer sensitivity in G force * @param asen accelerometer sensitivity in G force
* @param afrec accelerometer frequency in hertz * @param afrec accelerometer frequency in hertz

View File

@ -55,7 +55,7 @@ void CompositeInsert(EmitContext& ctx, IR::Inst& inst, Register composite, Objec
"MOV.{} {}.{},{};", "MOV.{} {}.{},{};",
type, ret, composite, type, ret, swizzle, object); type, ret, composite, type, ret, swizzle, object);
} else { } 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
// aliased // aliased
ctx.Add("MOV.{} {}.{},{};", type, ret, swizzle, object); ctx.Add("MOV.{} {}.{},{};", type, ret, swizzle, object);
} }

View File

@ -161,7 +161,7 @@ private:
u32 method_count; ///< Current method count u32 method_count; ///< Current method count
u32 length_pending; ///< Large NI command length pending u32 length_pending; ///< Large NI command length pending
GPUVAddr dma_get; ///< Currently read segment GPUVAddr dma_get; ///< Currently read segment
u64 dma_word_offset; ///< Current word ofset from address u64 dma_word_offset; ///< Current word offset from address
bool non_incrementing; ///< Current command's NI flag bool non_incrementing; ///< Current command's NI flag
bool is_last_call; bool is_last_call;
}; };

View File

@ -41,7 +41,7 @@ enum class ImageFlagBits : u32 {
IsRescalable = 1 << 15, IsRescalable = 1 << 15,
AsynchronousDecode = 1 << 16, AsynchronousDecode = 1 << 16,
IsDecoding = 1 << 17, ///< Is currently being decoded asynchornously. IsDecoding = 1 << 17, ///< Is currently being decoded asynchronously.
}; };
DECLARE_ENUM_FLAG_OPERATORS(ImageFlagBits) DECLARE_ENUM_FLAG_OPERATORS(ImageFlagBits)

View File

@ -1195,7 +1195,7 @@ std::optional<SubresourceBase> FindSubresource(const ImageInfo& candidate, const
return std::nullopt; return std::nullopt;
} }
} else { } 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 format
if (!IsViewCompatible(existing.format, candidate.format, broken_views, native_bgr)) { if (!IsViewCompatible(existing.format, candidate.format, broken_views, native_bgr)) {
return std::nullopt; return std::nullopt;
} }

View File

@ -314,7 +314,7 @@ public:
return GetDriverID() != VK_DRIVER_ID_QUALCOMM_PROPRIETARY; 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 { bool IsFloat64Supported() const {
return features.features.shaderFloat64; return features.features.shaderFloat64;
} }