Core: Make CPU_POWERDOWN the initial CPU state.

This isn't a correct state for the CPU to begin in when starting the application.

Also CPU_STEPPING as an initial state causes the emulator to crash if you use any of the debugger stepping buttons, since it checks if the CPU is in the CPU_STEPPING state before performing their functions.
This commit is contained in:
Lioncash 2014-07-19 19:43:46 -04:00
parent 963e1a698c
commit 44e43fe5c3
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ namespace PowerPC
// STATE_TO_SAVE
PowerPCState GC_ALIGNED16(ppcState);
static volatile CPUState state = CPU_STEPPING;
static volatile CPUState state = CPU_POWERDOWN;
Interpreter * const interpreter = Interpreter::getInstance();
static CoreMode mode;