From 1d299e30d700984a51fdfd1b6afab1288c700e5f Mon Sep 17 00:00:00 2001 From: kalaposfos13 <153381648+kalaposfos13@users.noreply.github.com> Date: Tue, 4 Feb 2025 20:06:32 +0100 Subject: [PATCH] Change the ring buffer size to 32 as seen in Ghidra --- src/input/controller.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/controller.h b/src/input/controller.h index a45e71d77..bbaed75ea 100644 --- a/src/input/controller.h +++ b/src/input/controller.h @@ -60,7 +60,7 @@ inline int GetAxis(int min, int max, int value) { return std::clamp((255 * (value - min)) / (max - min), 0, 255); } -constexpr u32 MAX_STATES = 64; +constexpr u32 MAX_STATES = 32; class GameController { public: