aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/fs/archive.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2016-12-08 15:01:10 -0500
committerSubv <subv2112@gmail.com>2016-12-08 15:01:10 -0500
commit386112da3265d111595329508b860800e5cf14e8 (patch)
tree7cb27e289abd255ff7f371eff0f9d1ddd07b5d11 /src/core/hle/service/fs/archive.cpp
parentf9bcf895103e5a6d99f5fe755bcac92b7781fd38 (diff)
Added a framework for partially handling Session disconnections.
Further implementation will happen in a future commit. Fixes a regression.
Diffstat (limited to 'src/core/hle/service/fs/archive.cpp')
-rw-r--r--src/core/hle/service/fs/archive.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/fs/archive.cpp b/src/core/hle/service/fs/archive.cpp
index c10d6a3a9..b63c6eaac 100644
--- a/src/core/hle/service/fs/archive.cpp
+++ b/src/core/hle/service/fs/archive.cpp
@@ -174,6 +174,7 @@ void File::HandleSyncRequestImpl(Kernel::SharedPtr<Kernel::ServerSession> server
case FileCommand::OpenLinkFile: {
LOG_WARNING(Service_FS, "(STUBBED) File command OpenLinkFile %s", GetName().c_str());
auto sessions = Kernel::ServerSession::CreateSessionPair(GetName(), shared_from_this());
+ ClientConnected(std::get<Kernel::SharedPtr<Kernel::ServerSession>>(sessions));
cmd_buff[3] = Kernel::g_handle_table.Create(std::get<Kernel::SharedPtr<Kernel::ClientSession>>(sessions)).ValueOr(INVALID_HANDLE);
break;
}