diff --git a/src/xenia/cpu/thread_state.cc b/src/xenia/cpu/thread_state.cc index 17e2c3a01..1e99c922c 100644 --- a/src/xenia/cpu/thread_state.cc +++ b/src/xenia/cpu/thread_state.cc @@ -33,7 +33,7 @@ ThreadState::ThreadState( ppc_state_.thread_state = this; // Set initial registers. - ppc_state_.r[1] = stack_address_; + ppc_state_.r[1] = stack_address_ + stack_size; ppc_state_.r[13] = thread_state_address_; }