mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 14:46:49 +01:00
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
|
// Function declarations
|
||||||
void EmuThread();
|
void EmuThread();
|
||||||
|
|
||||||
void Stop();
|
|
||||||
|
|
||||||
bool g_bStopping = false;
|
bool g_bStopping = false;
|
||||||
bool g_bHwInit = false;
|
bool g_bHwInit = false;
|
||||||
bool g_bStarted = false;
|
bool g_bStarted = false;
|
||||||
@ -501,9 +499,6 @@ void SetState(EState _State)
|
|||||||
{
|
{
|
||||||
switch (_State)
|
switch (_State)
|
||||||
{
|
{
|
||||||
case CORE_UNINITIALIZED:
|
|
||||||
Stop();
|
|
||||||
break;
|
|
||||||
case CORE_PAUSE:
|
case CORE_PAUSE:
|
||||||
CCPU::EnableStepping(true); // Break
|
CCPU::EnableStepping(true); // Break
|
||||||
Wiimote::Pause();
|
Wiimote::Pause();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user