diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-25 03:43:32 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-25 03:50:39 +0200 |
commit | 43e0d865faa932b980580a79a87d5ea464e9545c (patch) | |
tree | b4f06db70fe68a3edffc29e9373b9d98b8e35306 /src/core/hle/kernel/thread.cpp | |
parent | Port #4013 from Citra: "Init logging sooner so we dont miss some logs on startup" (#1142) (diff) | |
download | yuzu-43e0d865faa932b980580a79a87d5ea464e9545c.tar yuzu-43e0d865faa932b980580a79a87d5ea464e9545c.tar.gz yuzu-43e0d865faa932b980580a79a87d5ea464e9545c.tar.bz2 yuzu-43e0d865faa932b980580a79a87d5ea464e9545c.tar.lz yuzu-43e0d865faa932b980580a79a87d5ea464e9545c.tar.xz yuzu-43e0d865faa932b980580a79a87d5ea464e9545c.tar.zst yuzu-43e0d865faa932b980580a79a87d5ea464e9545c.zip |
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index cf4f94822..4ffd8d5cc 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -283,9 +283,9 @@ static std::tuple<std::size_t, std::size_t, bool> GetFreeThreadLocalSlot( * @param entry_point Address of entry point for execution * @param arg User argument for thread */ -static void ResetThreadContext(ARM_Interface::ThreadContext& context, VAddr stack_top, +static void ResetThreadContext(Core::ARM_Interface::ThreadContext& context, VAddr stack_top, VAddr entry_point, u64 arg) { - memset(&context, 0, sizeof(ARM_Interface::ThreadContext)); + memset(&context, 0, sizeof(Core::ARM_Interface::ThreadContext)); context.cpu_registers[0] = arg; context.pc = entry_point; |