From ac88a00f060abdb252c6aadea2af2dabb7c5dd71 Mon Sep 17 00:00:00 2001
From: Sergeanur <s.anureev@yandex.ua>
Date: Wed, 17 Feb 2021 15:09:16 +0200
Subject: [PATCH] Fix endless vibration in pause menu

---
 src/core/Frontend.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp
index 0f66178b..3e79b418 100644
--- a/src/core/Frontend.cpp
+++ b/src/core/Frontend.cpp
@@ -5490,6 +5490,9 @@ CMenuManager::SwitchMenuOnAndOff()
 				}
 				Initialise();
 				LoadAllTextures();
+#ifdef FIX_BUGS
+				CPad::StopPadsShaking();
+#endif
 			} else {
 #ifdef EXTENDED_COLOURFILTER
 				// we always expect CPostFX to be open