Ported #4296 from citra

This will allow us to easily remove the use of "NFC" in "System"
This commit is contained in:
David Marcec 2018-10-06 16:49:01 +10:00
parent 095c8d999b
commit f84b9ed4e8
3 changed files with 25 additions and 1 deletions

View file

@ -7,13 +7,13 @@
#include <string>
#include "common/common_types.h"
#include "core/hle/kernel/object.h"
#include "core/hle/kernel/server_port.h"
#include "core/hle/result.h"
namespace Kernel {
class ClientSession;
class KernelCore;
class ServerPort;
class ClientPort final : public Object {
public:
@ -30,6 +30,10 @@ public:
return HANDLE_TYPE;
}
SharedPtr<ServerPort> GetServerPort() const {
return server_port;
}
/**
* Creates a new Session pair, adds the created ServerSession to the associated ServerPort's
* list of pending sessions, and signals the ServerPort, causing any threads

View file

@ -11,6 +11,7 @@
#include "common/common_types.h"
#include "core/hle/kernel/object.h"
#include "core/hle/kernel/wait_object.h"
#include "core/hle/result.h"
namespace Kernel {