mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-19 14:50:00 +00:00
Fix typos in master
This commit is contained in:
parent
90ab89a0b0
commit
16abda59be
2 changed files with 5 additions and 5 deletions
|
@ -318,7 +318,7 @@ struct InternalFlags {
|
||||||
BitField<1, 1, u32> is_connected;
|
BitField<1, 1, u32> is_connected;
|
||||||
BitField<2, 1, u32> is_battery_low_ovln_required;
|
BitField<2, 1, u32> is_battery_low_ovln_required;
|
||||||
BitField<3, 1, u32> is_battery_low_ovln_delay_required;
|
BitField<3, 1, u32> is_battery_low_ovln_delay_required;
|
||||||
BitField<4, 1, u32> is_sample_recieved;
|
BitField<4, 1, u32> is_sample_received;
|
||||||
BitField<5, 1, u32> is_virtual_input;
|
BitField<5, 1, u32> is_virtual_input;
|
||||||
BitField<6, 1, u32> is_wired;
|
BitField<6, 1, u32> is_wired;
|
||||||
BitField<8, 1, u32> use_center_clamp;
|
BitField<8, 1, u32> use_center_clamp;
|
||||||
|
|
|
@ -15,7 +15,7 @@ Result NpadVibration::Activate() {
|
||||||
|
|
||||||
const f32 master_volume = 1.0f; // nn::settings::system::GetVibrationMasterVolume();
|
const f32 master_volume = 1.0f; // nn::settings::system::GetVibrationMasterVolume();
|
||||||
// if (master_volume < 0.0f || master_volume > 1.0f) {
|
// if (master_volume < 0.0f || master_volume > 1.0f) {
|
||||||
// return ResultVibrationStrenghtOutOfRange;
|
// return ResultVibrationStrengthOutOfRange;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
volume = master_volume;
|
volume = master_volume;
|
||||||
|
@ -30,7 +30,7 @@ Result NpadVibration::SetVibrationMasterVolume(f32 master_volume) {
|
||||||
std::scoped_lock lock{mutex};
|
std::scoped_lock lock{mutex};
|
||||||
|
|
||||||
if (master_volume < 0.0f && master_volume > 1.0f) {
|
if (master_volume < 0.0f && master_volume > 1.0f) {
|
||||||
return ResultVibrationStrenghtOutOfRange;
|
return ResultVibrationStrengthOutOfRange;
|
||||||
}
|
}
|
||||||
|
|
||||||
volume = master_volume;
|
volume = master_volume;
|
||||||
|
@ -50,7 +50,7 @@ Result NpadVibration::GetVibrationMasterVolume(f32& out_volume) const {
|
||||||
|
|
||||||
const f32 master_volume = 1.0f; // nn::settings::system::GetVibrationMasterVolume();
|
const f32 master_volume = 1.0f; // nn::settings::system::GetVibrationMasterVolume();
|
||||||
// if (master_volume < 0.0f || master_volume > 1.0f) {
|
// if (master_volume < 0.0f || master_volume > 1.0f) {
|
||||||
// return ResultVibrationStrenghtOutOfRange;
|
// return ResultVibrationStrengthOutOfRange;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
out_volume = master_volume;
|
out_volume = master_volume;
|
||||||
|
@ -69,7 +69,7 @@ Result NpadVibration::EndPermitVibrationSession() {
|
||||||
|
|
||||||
const f32 master_volume = 1.0f; // nn::settings::system::GetVibrationMasterVolume();
|
const f32 master_volume = 1.0f; // nn::settings::system::GetVibrationMasterVolume();
|
||||||
// if (master_volume < 0.0f || master_volume > 1.0f) {
|
// if (master_volume < 0.0f || master_volume > 1.0f) {
|
||||||
// return ResultVibrationStrenghtOutOfRange;
|
// return ResultVibrationStrengthOutOfRange;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
volume = master_volume;
|
volume = master_volume;
|
||||||
|
|
Loading…
Reference in a new issue