From 8b0df7b6b856f3ff9811ac5a766ce843798a4a5f Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 1 Mar 2019 19:26:36 +0100 Subject: [PATCH] Fix return type of checkMagic function --- src/patcher/hooks_patcher_static.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/patcher/hooks_patcher_static.cpp b/src/patcher/hooks_patcher_static.cpp index 1934152..e65f9ed 100644 --- a/src/patcher/hooks_patcher_static.cpp +++ b/src/patcher/hooks_patcher_static.cpp @@ -95,7 +95,7 @@ float angleX_delta = 0.0f; float angleX_last = 0.0f; uint8_t angleX_frameCounter = 0; -bool checkMagic(VPADData *buffer) { +void checkMagic(VPADData *buffer) { // buffer->angle stores the rotations per axis since the app started. // Each full rotation add/subtracts 1.0f (depending on the direction).