Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Core: Remove dead code
We never call SetState with CORE_UNINITIALIZED, and always call
Core::Stop() directly.
  • Loading branch information
magcius committed Aug 5, 2013
1 parent db93b51 commit 0e0f0ae
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Source/Core/Core/Src/Core.cpp
Expand Up @@ -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;
Expand Down Expand Up @@ -501,9 +499,6 @@ void SetState(EState _State)
{
switch (_State)
{
case CORE_UNINITIALIZED:
Stop();
break;
case CORE_PAUSE:
CCPU::EnableStepping(true); // Break
Wiimote::Pause();
Expand Down

0 comments on commit 0e0f0ae

Please sign in to comment.