diff options
author | bunnei <bunneidev@gmail.com> | 2017-11-01 00:26:11 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-11-01 00:26:11 +0100 |
commit | 34571f4d2e80a3194a3c4cb697dba674d11a35b4 (patch) | |
tree | b2b4b70d7a5bdea95ef5d44733eedf7e6b3b7009 /src/core/hle/kernel/thread.cpp | |
parent | externals: Update dynarmic and xbyak. (diff) | |
download | yuzu-34571f4d2e80a3194a3c4cb697dba674d11a35b4.tar yuzu-34571f4d2e80a3194a3c4cb697dba674d11a35b4.tar.gz yuzu-34571f4d2e80a3194a3c4cb697dba674d11a35b4.tar.bz2 yuzu-34571f4d2e80a3194a3c4cb697dba674d11a35b4.tar.lz yuzu-34571f4d2e80a3194a3c4cb697dba674d11a35b4.tar.xz yuzu-34571f4d2e80a3194a3c4cb697dba674d11a35b4.tar.zst yuzu-34571f4d2e80a3194a3c4cb697dba674d11a35b4.zip |
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 8b72084bf..372cafdd9 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -386,9 +386,8 @@ ResultVal<SharedPtr<Thread>> Thread::Create(std::string name, VAddr entry_point, if (!Memory::IsValidVirtualAddress(*owner_process, entry_point)) { LOG_ERROR(Kernel_SVC, "(name=%s): invalid entry %08x", name.c_str(), entry_point); - // TODO: Verify error - return ResultCode(ErrorDescription::InvalidAddress, ErrorModule::Kernel, - ErrorSummary::InvalidArgument, ErrorLevel::Permanent); + // TODO (bunnei): Find the correct error code to use here + return ResultCode(-1); } SharedPtr<Thread> thread(new Thread); |