diff options
| author | 2018-08-27 18:17:12 -0400 | |
|---|---|---|
| committer | 2018-08-27 18:17:12 -0400 | |
| commit | 62edc01525fa2c81c71c1d8a8bb4fd82e5f73445 (patch) | |
| tree | 7e7420277d62814e03761c37a53f253edb38fab7 /src/core/hle/kernel/thread.cpp | |
| parent | Merge pull request #1187 from lioncash/shadow (diff) | |
| parent | core: Namespace all code in the arm subdirectory under the Core namespace (diff) | |
| download | yuzu-62edc01525fa2c81c71c1d8a8bb4fd82e5f73445.tar.gz yuzu-62edc01525fa2c81c71c1d8a8bb4fd82e5f73445.tar.xz yuzu-62edc01525fa2c81c71c1d8a8bb4fd82e5f73445.zip | |
Merge pull request #1175 from lioncash/ns
core: Namespace all code in the arm subdirectory under the Core namespace
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( | |||
| 283 | * @param entry_point Address of entry point for execution | 283 | * @param entry_point Address of entry point for execution |
| 284 | * @param arg User argument for thread | 284 | * @param arg User argument for thread |
| 285 | */ | 285 | */ |
| 286 | static void ResetThreadContext(ARM_Interface::ThreadContext& context, VAddr stack_top, | 286 | static void ResetThreadContext(Core::ARM_Interface::ThreadContext& context, VAddr stack_top, |
| 287 | VAddr entry_point, u64 arg) { | 287 | VAddr entry_point, u64 arg) { |
| 288 | memset(&context, 0, sizeof(ARM_Interface::ThreadContext)); | 288 | memset(&context, 0, sizeof(Core::ARM_Interface::ThreadContext)); |
| 289 | 289 | ||
| 290 | context.cpu_registers[0] = arg; | 290 | context.cpu_registers[0] = arg; |
| 291 | context.pc = entry_point; | 291 | context.pc = entry_point; |