summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/irs_ring_lifo.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2022-07-24 23:39:32 +0200
committergerman77 <juangerman-13@hotmail.com>2022-07-24 23:39:32 +0200
commit21b1e9c21afa5d79b9de850166a375f9b050cc1f (patch)
tree9b2aecac17ba5c38c8afb3d56234b6390890b337 /src/core/hle/service/hid/irs_ring_lifo.h
parentservice: irs: Implement clustering processor (diff)
downloadyuzu-21b1e9c21afa5d79b9de850166a375f9b050cc1f.tar
yuzu-21b1e9c21afa5d79b9de850166a375f9b050cc1f.tar.gz
yuzu-21b1e9c21afa5d79b9de850166a375f9b050cc1f.tar.bz2
yuzu-21b1e9c21afa5d79b9de850166a375f9b050cc1f.tar.lz
yuzu-21b1e9c21afa5d79b9de850166a375f9b050cc1f.tar.xz
yuzu-21b1e9c21afa5d79b9de850166a375f9b050cc1f.tar.zst
yuzu-21b1e9c21afa5d79b9de850166a375f9b050cc1f.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/hid/irs_ring_lifo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/irs_ring_lifo.h b/src/core/hle/service/hid/irs_ring_lifo.h
index a31e61037..255d1d296 100644
--- a/src/core/hle/service/hid/irs_ring_lifo.h
+++ b/src/core/hle/service/hid/irs_ring_lifo.h
@@ -36,7 +36,7 @@ struct Lifo {
}
void WriteNextEntry(const State& new_state) {
- if (buffer_count < max_buffer_size) {
+ if (buffer_count < static_cast<s64>(max_buffer_size)) {
buffer_count++;
}
sampling_number++;