diff options
author | Valeri <v19930312@gmail.com> | 2023-04-14 20:27:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-14 20:27:35 +0200 |
commit | 60c4032b68d08c8434a0730015f193f5efc3cf41 (patch) | |
tree | ee51e3200e7467b2c52d55d1a267e45b485f7ffa /src/input_common/drivers | |
parent | Merge pull request #10008 from vonchenplus/texture_cache (diff) | |
download | yuzu-60c4032b68d08c8434a0730015f193f5efc3cf41.tar yuzu-60c4032b68d08c8434a0730015f193f5efc3cf41.tar.gz yuzu-60c4032b68d08c8434a0730015f193f5efc3cf41.tar.bz2 yuzu-60c4032b68d08c8434a0730015f193f5efc3cf41.tar.lz yuzu-60c4032b68d08c8434a0730015f193f5efc3cf41.tar.xz yuzu-60c4032b68d08c8434a0730015f193f5efc3cf41.tar.zst yuzu-60c4032b68d08c8434a0730015f193f5efc3cf41.zip |
Diffstat (limited to 'src/input_common/drivers')
-rw-r--r-- | src/input_common/drivers/mouse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/drivers/mouse.cpp b/src/input_common/drivers/mouse.cpp index 4fb2a6cfa..0c9f642bb 100644 --- a/src/input_common/drivers/mouse.cpp +++ b/src/input_common/drivers/mouse.cpp @@ -135,7 +135,7 @@ void Mouse::Move(int x, int y, int center_x, int center_y) { auto mouse_change = (Common::MakeVec(x, y) - Common::MakeVec(center_x, center_y)).Cast<float>(); - last_motion_change += {-mouse_change.y, -mouse_change.x, last_motion_change.z}; + last_motion_change += {-mouse_change.y, -mouse_change.x, 0}; const auto move_distance = mouse_change.Length(); if (move_distance == 0) { |