summaryrefslogtreecommitdiffstats
path: root/src/core/Frontend.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-07-24 19:43:51 +0200
committereray orçunus <erayorcunus@gmail.com>2020-07-24 20:02:55 +0200
commitad6094ca1d9b54b32ae8153c771e8e6f9308103a (patch)
tree929528298d437e2868071683228743f47accc173 /src/core/Frontend.cpp
parentMerge pull request #661 from erorcun/miami (diff)
downloadre3-ad6094ca1d9b54b32ae8153c771e8e6f9308103a.tar
re3-ad6094ca1d9b54b32ae8153c771e8e6f9308103a.tar.gz
re3-ad6094ca1d9b54b32ae8153c771e8e6f9308103a.tar.bz2
re3-ad6094ca1d9b54b32ae8153c771e8e6f9308103a.tar.lz
re3-ad6094ca1d9b54b32ae8153c771e8e6f9308103a.tar.xz
re3-ad6094ca1d9b54b32ae8153c771e8e6f9308103a.tar.zst
re3-ad6094ca1d9b54b32ae8153c771e8e6f9308103a.zip
Diffstat (limited to 'src/core/Frontend.cpp')
-rw-r--r--src/core/Frontend.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp
index e5776459..06744ac2 100644
--- a/src/core/Frontend.cpp
+++ b/src/core/Frontend.cpp
@@ -5155,13 +5155,10 @@ CMenuManager::SwitchMenuOnAndOff()
m_bMenuActive = !m_bMenuActive;
if (m_bMenuActive) {
-#if defined RW_D3D9 || defined RWLIBS
if (_InputMouseNeedsExclusive()) {
_InputShutdownMouse();
_InputInitialiseMouse(false);
}
-#endif
-
Initialise();
LoadAllTextures();
} else {
@@ -5173,12 +5170,10 @@ CMenuManager::SwitchMenuOnAndOff()
DoRWStuffEndOfFrame();
DoRWStuffStartOfFrame(0, 0, 0, 0, 0, 0, 255);
DoRWStuffEndOfFrame();
-#if defined RW_D3D9 || defined RWLIBS
if (_InputMouseNeedsExclusive()) {
_InputShutdownMouse();
_InputInitialiseMouse(true);
}
-#endif
#ifdef PS2_LIKE_MENU
bottomBarActive = false;
@@ -5223,12 +5218,10 @@ CMenuManager::SwitchMenuOnAndOff()
m_bMenuActive = true;
m_OnlySaveMenu = true;
-#if defined RW_D3D9 || defined RWLIBS
if (_InputMouseNeedsExclusive()) {
_InputShutdownMouse();
_InputInitialiseMouse(false);
}
-#endif
Initialise();
LoadAllTextures();