aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei <ericbunnie@gmail.com>2014-06-06 00:44:44 -0400
committerGravatar bunnei <ericbunnie@gmail.com>2014-06-13 09:51:13 -0400
commit4d6c96b7d8d77b87fcc137aa03cd6a4e4313bdc7 (patch)
treef6e1a5f5bb503cf570c7f8cee1312ce48feaa97b /src
parentc95972275e276abe3afcac79d956ea29a0879c8e (diff)
SVC: Moved declaration of "wait" variable in SendSyncRequest for improved readability.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/svc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp
index 01fc056a..76c6a077 100644
--- a/src/core/hle/svc.cpp
+++ b/src/core/hle/svc.cpp
@@ -90,12 +90,12 @@ Result ConnectToPort(void* _out, const char* port_name) {
/// Synchronize to an OS service
Result SendSyncRequest(Handle handle) {
- bool wait = false;
Kernel::Object* object = Kernel::g_object_pool.GetFast<Kernel::Object>(handle);
_assert_msg_(KERNEL, (object != nullptr), "called, but kernel object is nullptr!");
DEBUG_LOG(SVC, "called handle=0x%08X(%s)", handle, object->GetTypeName());
+ bool wait = false;
Result res = object->SyncRequest(&wait);
if (wait) {
Kernel::WaitCurrentThread(WAITTYPE_SYNCH); // TODO(bunnei): Is this correct?