summaryrefslogtreecommitdiff
path: root/src/core/hle
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/svc.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp
index 2db823c61..8538cfc9d 100644
--- a/src/core/hle/svc.cpp
+++ b/src/core/hle/svc.cpp
@@ -2,12 +2,12 @@
2// Licensed under GPLv2 or any later version 2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5#include <cinttypes>
5#include <map> 6#include <map>
6#include "common/logging/log.h" 7#include "common/logging/log.h"
7#include "common/microprofile.h" 8#include "common/microprofile.h"
8#include "common/scope_exit.h" 9#include "common/scope_exit.h"
9#include "common/string_util.h" 10#include "common/string_util.h"
10#include "common/symbols.h"
11#include "core/arm/arm_interface.h" 11#include "core/arm/arm_interface.h"
12#include "core/core_timing.h" 12#include "core/core_timing.h"
13#include "core/hle/function_wrappers.h" 13#include "core/hle/function_wrappers.h"
@@ -524,13 +524,7 @@ static ResultCode CreateThread(Kernel::Handle* out_handle, s32 priority, u32 ent
524 u32 stack_top, s32 processor_id) { 524 u32 stack_top, s32 processor_id) {
525 using Kernel::Thread; 525 using Kernel::Thread;
526 526
527 std::string name; 527 std::string name = Common::StringFromFormat("unknown-%08" PRIX32, entry_point);
528 if (Symbols::HasSymbol(entry_point)) {
529 TSymbol symbol = Symbols::GetSymbol(entry_point);
530 name = symbol.name;
531 } else {
532 name = Common::StringFromFormat("unknown-%08x", entry_point);
533 }
534 528
535 if (priority > THREADPRIO_LOWEST) { 529 if (priority > THREADPRIO_LOWEST) {
536 return ResultCode(ErrorDescription::OutOfRange, ErrorModule::OS, 530 return ResultCode(ErrorDescription::OutOfRange, ErrorModule::OS,