summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-04-29 21:49:13 -0400
committerGitHub <noreply@github.com>2018-04-29 21:49:13 -0400
commit81a0082f6bd4f2db9b09e56cce96351bb5084e46 (patch)
tree4309e2b742d485f9854bbe63de4393f7e8785f5c /src/core/hle/kernel
parent225ff1130ffc79dcbf667c73284774397f32f667 (diff)
parent3abba08080c88c49359e91ab2688c23fa066110a (diff)
Merge pull request #424 from lioncash/string
string_util: Remove StringFromFormat() and related functions
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/svc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index 4df38c977..e2da68227 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -510,7 +510,7 @@ static void ExitProcess() {
/// Creates a new thread
static ResultCode CreateThread(Handle* out_handle, VAddr entry_point, u64 arg, VAddr stack_top,
u32 priority, s32 processor_id) {
- std::string name = Common::StringFromFormat("unknown-%llx", entry_point);
+ std::string name = fmt::format("unknown-{:X}", entry_point);
if (priority > THREADPRIO_LOWEST) {
return ERR_OUT_OF_RANGE;