summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2016-12-09 18:39:12 +0100
committerSubv <subv2112@gmail.com>2016-12-09 18:39:12 +0100
commitdeb83c9fc5c27ca8c50db0b00deb9cd798a814e7 (patch)
tree2701df2c92c4ca2b1c8207621c8922bd8f9d36dd /src
parentAdded a framework for partially handling Session disconnections. (diff)
downloadyuzu-deb83c9fc5c27ca8c50db0b00deb9cd798a814e7.tar
yuzu-deb83c9fc5c27ca8c50db0b00deb9cd798a814e7.tar.gz
yuzu-deb83c9fc5c27ca8c50db0b00deb9cd798a814e7.tar.bz2
yuzu-deb83c9fc5c27ca8c50db0b00deb9cd798a814e7.tar.lz
yuzu-deb83c9fc5c27ca8c50db0b00deb9cd798a814e7.tar.xz
yuzu-deb83c9fc5c27ca8c50db0b00deb9cd798a814e7.tar.zst
yuzu-deb83c9fc5c27ca8c50db0b00deb9cd798a814e7.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/ipc.h2
-rw-r--r--src/core/hle/service/service.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/core/hle/ipc.h b/src/core/hle/ipc.h
index 90ea4d191..79ccaaed0 100644
--- a/src/core/hle/ipc.h
+++ b/src/core/hle/ipc.h
@@ -9,9 +9,7 @@
#include "core/memory.h"
namespace Kernel {
-class ServerSession;
-// TODO(Subv): Move these declarations out of here
static const int kCommandHeaderOffset = 0x80; ///< Offset into command buffer of header
/**
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp
index 167cb09a8..4f973c634 100644
--- a/src/core/hle/service/service.cpp
+++ b/src/core/hle/service/service.cpp
@@ -94,8 +94,8 @@ ResultCode SessionRequestHandler::TranslateRequest(Kernel::SharedPtr<Kernel::Ser
return RESULT_SUCCESS;
}
+Interface::Interface(u32 max_sessions) : max_sessions(max_sessions) {}
Interface::~Interface() = default;
-Interface::Interface(u32 max_sessions) : max_sessions(max_sessions) { }
void Interface::HandleSyncRequestImpl(Kernel::SharedPtr<Kernel::ServerSession> server_session) {
// TODO(Subv): Make use of the server_session in the HLE service handlers to distinguish which session triggered each command.