From 0e0f0aec6eb083134992d16bcd22be5a56218a78 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 31 Jul 2013 09:58:52 -0400 Subject: [PATCH] Core: Remove dead code We never call SetState with CORE_UNINITIALIZED, and always call Core::Stop() directly. --- Source/Core/Core/Src/Core.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Source/Core/Core/Src/Core.cpp b/Source/Core/Core/Src/Core.cpp index 0aaa1a89d3..4aadcbd3a4 100644 --- a/Source/Core/Core/Src/Core.cpp +++ b/Source/Core/Core/Src/Core.cpp @@ -76,8 +76,6 @@ void Callback_WiimoteInterruptChannel(int _number, u16 _channelID, const void* _ // Function declarations void EmuThread(); -void Stop(); - bool g_bStopping = false; bool g_bHwInit = false; bool g_bStarted = false; @@ -501,9 +499,6 @@ void SetState(EState _State) { switch (_State) { - case CORE_UNINITIALIZED: - Stop(); - break; case CORE_PAUSE: CCPU::EnableStepping(true); // Break Wiimote::Pause();