diff options
| author | 2014-08-26 23:58:03 -0400 | |
|---|---|---|
| committer | 2014-08-30 23:23:32 -0400 | |
| commit | 3ade84cb7b9e0170b0025aa6af0ec0ed4097899c (patch) | |
| tree | 131ccfe7c3f6a466acfd9029334d14999986cbd0 /src/core/arm | |
| parent | srv::Initialize: Return "success" status code. (diff) | |
| download | yuzu-3ade84cb7b9e0170b0025aa6af0ec0ed4097899c.tar.gz yuzu-3ade84cb7b9e0170b0025aa6af0ec0ed4097899c.tar.xz yuzu-3ade84cb7b9e0170b0025aa6af0ec0ed4097899c.zip | |
Threading: Fix thread starting to execute first instruction correctly.
Diffstat (limited to 'src/core/arm')
| -rw-r--r-- | src/core/arm/interpreter/arm_interpreter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/interpreter/arm_interpreter.cpp b/src/core/arm/interpreter/arm_interpreter.cpp index d35a3ae17..0842d2f8e 100644 --- a/src/core/arm/interpreter/arm_interpreter.cpp +++ b/src/core/arm/interpreter/arm_interpreter.cpp | |||
| @@ -27,7 +27,7 @@ ARM_Interpreter::ARM_Interpreter() { | |||
| 27 | // Reset the core to initial state | 27 | // Reset the core to initial state |
| 28 | ARMul_CoProInit(state); | 28 | ARMul_CoProInit(state); |
| 29 | ARMul_Reset(state); | 29 | ARMul_Reset(state); |
| 30 | state->NextInstr = RESUME; | 30 | state->NextInstr = RESUME; // NOTE: This will be overwritten by LoadContext |
| 31 | state->Emulate = 3; | 31 | state->Emulate = 3; |
| 32 | 32 | ||
| 33 | state->pc = state->Reg[15] = 0x00000000; | 33 | state->pc = state->Reg[15] = 0x00000000; |