summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-02-01 03:44:35 +0100
committerLioncash <mathew1800@gmail.com>2015-02-01 03:55:34 +0100
commit3f00dd911780552c77575d3176860f576ebc0fdb (patch)
treec80ea3a4035a20810fb5914f3bfc99f392376939 /src/core/hle
parentMerge pull request #522 from lioncash/adios (diff)
downloadyuzu-3f00dd911780552c77575d3176860f576ebc0fdb.tar
yuzu-3f00dd911780552c77575d3176860f576ebc0fdb.tar.gz
yuzu-3f00dd911780552c77575d3176860f576ebc0fdb.tar.bz2
yuzu-3f00dd911780552c77575d3176860f576ebc0fdb.tar.lz
yuzu-3f00dd911780552c77575d3176860f576ebc0fdb.tar.xz
yuzu-3f00dd911780552c77575d3176860f576ebc0fdb.tar.zst
yuzu-3f00dd911780552c77575d3176860f576ebc0fdb.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/kernel/thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp
index 03b492c75..56950ebd4 100644
--- a/src/core/hle/kernel/thread.cpp
+++ b/src/core/hle/kernel/thread.cpp
@@ -50,7 +50,7 @@ static void ResetThread(Thread* t, u32 arg, s32 lowest_priority) {
memset(&t->context, 0, sizeof(Core::ThreadContext));
t->context.cpu_registers[0] = arg;
- t->context.pc = t->context.reg_15 = t->entry_point;
+ t->context.pc = t->entry_point;
t->context.sp = t->stack_top;
t->context.cpsr = 0x1F; // Usermode