From 44e43fe5c30e66b9f28b41b405c39f300ae31627 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 19 Jul 2014 19:43:46 -0400 Subject: [PATCH] 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. --- Source/Core/Core/PowerPC/PowerPC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/PowerPC.cpp b/Source/Core/Core/PowerPC/PowerPC.cpp index caa7f02eb5..9778c2234a 100644 --- a/Source/Core/Core/PowerPC/PowerPC.cpp +++ b/Source/Core/Core/PowerPC/PowerPC.cpp @@ -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;