summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-05-07 23:56:23 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-05-08 00:33:07 +0200
commit6577bbc3c5c47d8e3868f1205284337c6c672744 (patch)
tree7837aa8fc199b519ac45fd1b8312f5fb0e02afa3 /src/core/hle
parentcitra-qt: Remove callstack widget (diff)
downloadyuzu-6577bbc3c5c47d8e3868f1205284337c6c672744.tar
yuzu-6577bbc3c5c47d8e3868f1205284337c6c672744.tar.gz
yuzu-6577bbc3c5c47d8e3868f1205284337c6c672744.tar.bz2
yuzu-6577bbc3c5c47d8e3868f1205284337c6c672744.tar.lz
yuzu-6577bbc3c5c47d8e3868f1205284337c6c672744.tar.xz
yuzu-6577bbc3c5c47d8e3868f1205284337c6c672744.tar.zst
yuzu-6577bbc3c5c47d8e3868f1205284337c6c672744.zip
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 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#include <cinttypes>
#include <map>
#include "common/logging/log.h"
#include "common/microprofile.h"
#include "common/scope_exit.h"
#include "common/string_util.h"
-#include "common/symbols.h"
#include "core/arm/arm_interface.h"
#include "core/core_timing.h"
#include "core/hle/function_wrappers.h"
@@ -524,13 +524,7 @@ static ResultCode CreateThread(Kernel::Handle* out_handle, s32 priority, u32 ent
u32 stack_top, s32 processor_id) {
using Kernel::Thread;
- std::string name;
- if (Symbols::HasSymbol(entry_point)) {
- TSymbol symbol = Symbols::GetSymbol(entry_point);
- name = symbol.name;
- } else {
- name = Common::StringFromFormat("unknown-%08x", entry_point);
- }
+ std::string name = Common::StringFromFormat("unknown-%08" PRIX32, entry_point);
if (priority > THREADPRIO_LOWEST) {
return ResultCode(ErrorDescription::OutOfRange, ErrorModule::OS,