Core: Remove dead code
We never call SetState with CORE_UNINITIALIZED, and always call Core::Stop() directly.
This commit is contained in:
parent
db93b516b0
commit
0e0f0aec6e
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue