summaryrefslogtreecommitdiff
path: root/src/core/hle/svc.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2014-08-18 21:42:44 -0400
committerGravatar bunnei2014-08-18 21:42:44 -0400
commite9c5c563a500ac19ecb2f580ce065a9010dedac9 (patch)
tree25155672077a81a5f1b66e738826a7b850c55e82 /src/core/hle/svc.cpp
parentMerge pull request #45 from bunnei/master (diff)
parentCore: Alter the kernel string functions to use std::string instead of const c... (diff)
downloadyuzu-e9c5c563a500ac19ecb2f580ce065a9010dedac9.tar.gz
yuzu-e9c5c563a500ac19ecb2f580ce065a9010dedac9.tar.xz
yuzu-e9c5c563a500ac19ecb2f580ce065a9010dedac9.zip
Merge pull request #55 from lioncash/string
Core: Alter the kernel string functions to use std::string instead of const char*.
Diffstat (limited to 'src/core/hle/svc.cpp')
-rw-r--r--src/core/hle/svc.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp
index 4f5ad805e..bdcfae6f5 100644
--- a/src/core/hle/svc.cpp
+++ b/src/core/hle/svc.cpp
@@ -92,7 +92,7 @@ Result SendSyncRequest(Handle handle) {
92 Kernel::Object* object = Kernel::g_object_pool.GetFast<Kernel::Object>(handle); 92 Kernel::Object* object = Kernel::g_object_pool.GetFast<Kernel::Object>(handle);
93 93
94 _assert_msg_(KERNEL, (object != nullptr), "called, but kernel object is nullptr!"); 94 _assert_msg_(KERNEL, (object != nullptr), "called, but kernel object is nullptr!");
95 DEBUG_LOG(SVC, "called handle=0x%08X(%s)", handle, object->GetTypeName()); 95 DEBUG_LOG(SVC, "called handle=0x%08X(%s)", handle, object->GetTypeName().c_str());
96 96
97 bool wait = false; 97 bool wait = false;
98 Result res = object->SyncRequest(&wait); 98 Result res = object->SyncRequest(&wait);
@@ -118,8 +118,8 @@ Result WaitSynchronization1(Handle handle, s64 nano_seconds) {
118 118
119 Kernel::Object* object = Kernel::g_object_pool.GetFast<Kernel::Object>(handle); 119 Kernel::Object* object = Kernel::g_object_pool.GetFast<Kernel::Object>(handle);
120 120
121 DEBUG_LOG(SVC, "called handle=0x%08X(%s:%s), nanoseconds=%d", handle, object->GetTypeName(), 121 DEBUG_LOG(SVC, "called handle=0x%08X(%s:%s), nanoseconds=%d", handle, object->GetTypeName().c_str(),
122 object->GetName(), nano_seconds); 122 object->GetName().c_str(), nano_seconds);
123 123
124 _assert_msg_(KERNEL, (object != nullptr), "called, but kernel object is nullptr!"); 124 _assert_msg_(KERNEL, (object != nullptr), "called, but kernel object is nullptr!");
125 125
@@ -152,8 +152,8 @@ Result WaitSynchronizationN(s32* out, Handle* handles, s32 handle_count, bool wa
152 _assert_msg_(KERNEL, (object != nullptr), "called handle=0x%08X, but kernel object " 152 _assert_msg_(KERNEL, (object != nullptr), "called handle=0x%08X, but kernel object "
153 "is nullptr!", handles[i]); 153 "is nullptr!", handles[i]);
154 154
155 DEBUG_LOG(SVC, "\thandle[%d] = 0x%08X(%s:%s)", i, handles[i], object->GetTypeName(), 155 DEBUG_LOG(SVC, "\thandle[%d] = 0x%08X(%s:%s)", i, handles[i], object->GetTypeName().c_str(),
156 object->GetName()); 156 object->GetName().c_str());
157 157
158 Result res = object->WaitSynchronization(&wait); 158 Result res = object->WaitSynchronization(&wait);
159 159