aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/apt/apt_a.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2016-12-05 13:44:41 -0500
committerSubv <subv2112@gmail.com>2016-12-05 13:44:41 -0500
commit61a2fe8c3bcd5e6dc7e97945b923d1a5bd8099ec (patch)
treeb32d013cfd1758df64f324f850b2c0af470be255 /src/core/hle/service/apt/apt_a.cpp
parent00f0c775702af4145a4a81ec5d357c3586a5c6c3 (diff)
HLE: Use a member variable instead of a virtual function to retrieve the max number of sessions that can be connected to an HLE service at the same time.
Diffstat (limited to 'src/core/hle/service/apt/apt_a.cpp')
-rw-r--r--src/core/hle/service/apt/apt_a.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/apt/apt_a.cpp b/src/core/hle/service/apt/apt_a.cpp
index a7a0c8a41..7f37a7f54 100644
--- a/src/core/hle/service/apt/apt_a.cpp
+++ b/src/core/hle/service/apt/apt_a.cpp
@@ -39,7 +39,7 @@ const Interface::FunctionInfo FunctionTable[] = {
{0x01020000, CheckNew3DS, "CheckNew3DS"},
};
-APT_A_Interface::APT_A_Interface() {
+APT_A_Interface::APT_A_Interface() : Interface(MaxAPTSessions) {
Register(FunctionTable);
}