diff options
author | bunnei <ericbunnie@gmail.com> | 2014-06-06 05:19:55 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-06-13 15:51:08 +0200 |
commit | b774b8b04e50ad709381506a80e881a1a1471b0f (patch) | |
tree | 38dc778ae64d4facc277a861430efd948335b2b9 /src | |
parent | Kernel: Made SyncRequest not pure virtual, with a default implementation of error (as this is not required for all kernel objects) (diff) | |
download | yuzu-b774b8b04e50ad709381506a80e881a1a1471b0f.tar yuzu-b774b8b04e50ad709381506a80e881a1a1471b0f.tar.gz yuzu-b774b8b04e50ad709381506a80e881a1a1471b0f.tar.bz2 yuzu-b774b8b04e50ad709381506a80e881a1a1471b0f.tar.lz yuzu-b774b8b04e50ad709381506a80e881a1a1471b0f.tar.xz yuzu-b774b8b04e50ad709381506a80e881a1a1471b0f.tar.zst yuzu-b774b8b04e50ad709381506a80e881a1a1471b0f.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 180c14928..6196c352c 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -114,7 +114,7 @@ void ResetThread(Thread* t, u32 arg, s32 lowest_priority) { memset(&t->context, 0, sizeof(ThreadContext)); t->context.cpu_registers[0] = arg; - t->context.pc = t->context.cpu_registers[15] = t->entry_point; + t->context.pc = t->context.reg_15 = t->entry_point; t->context.sp = t->stack_top; t->context.cpsr = 0x1F; // Usermode |