Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

updated service comments

bunneib8851305bd98
diff --git a/src/core/hle/service/apt.cpp b/src/core/hle/service/apt.cpp
index e5c9dd873c..4f8d7248dd 100644
--- a/src/core/hle/service/apt.cpp
+++ b/src/core/hle/service/apt.cpp
@@ -8,6 +8,9 @@
#include "core/hle/hle.h"
#include "core/hle/service/apt.h"
+////////////////////////////////////////////////////////////////////////////////////////////////////
+// Namespace APT_U
+
namespace APT_U {
void Initialize() {
diff --git a/src/core/hle/service/apt.h b/src/core/hle/service/apt.h
index 9345eabc3e..e74baac0c0 100644
--- a/src/core/hle/service/apt.h
+++ b/src/core/hle/service/apt.h
@@ -7,7 +7,7 @@
#include "core/hle/service/service.h"
////////////////////////////////////////////////////////////////////////////////////////////////////
-// Namespace Service
+// Namespace APT_U
namespace APT_U {
@@ -17,6 +17,7 @@ namespace APT_U {
// exactly the same, however certain commands are only accessible with APT:S(NS module will call
// svcBreak when the command isn't accessible). See http://3dbrew.org/wiki/NS#APT_Services.
+/// Interface to "APT:U" service
class Interface : public Service::Interface {
public:
diff --git a/src/core/hle/service/gsp.cpp b/src/core/hle/service/gsp.cpp
index 6dfd76de3e..7c80ab8b59 100644
--- a/src/core/hle/service/gsp.cpp
+++ b/src/core/hle/service/gsp.cpp
@@ -8,6 +8,9 @@
#include "core/hle/hle.h"
#include "core/hle/service/gsp.h"
+////////////////////////////////////////////////////////////////////////////////////////////////////
+// Namespace GSP_GPU
+
namespace GSP_GPU {
const HLE::FunctionDef FunctionTable[] = {
diff --git a/src/core/hle/service/gsp.h b/src/core/hle/service/gsp.h
index 0a9d452f62..3b18460821 100644
--- a/src/core/hle/service/gsp.h
+++ b/src/core/hle/service/gsp.h
@@ -7,10 +7,11 @@
#include "core/hle/service/service.h"
////////////////////////////////////////////////////////////////////////////////////////////////////
-// Namespace Service
+// Namespace GSP_GPU
namespace GSP_GPU {
+/// Interface to "srv:" service
class Interface : public Service::Interface {
public:
diff --git a/src/core/hle/service/srv.cpp b/src/core/hle/service/srv.cpp
index ad74484617..1ec78dd150 100644
--- a/src/core/hle/service/srv.cpp
+++ b/src/core/hle/service/srv.cpp
@@ -7,6 +7,9 @@
#include "core/hle/service/service.h"
+////////////////////////////////////////////////////////////////////////////////////////////////////
+// Namespace SRV
+
namespace SRV {
void Initialize() {
diff --git a/src/core/hle/service/srv.h b/src/core/hle/service/srv.h
index a1d26a34d8..d9ac8fc888 100644
--- a/src/core/hle/service/srv.h
+++ b/src/core/hle/service/srv.h
@@ -4,11 +4,12 @@
#include "core/hle/service/service.h"
-namespace SRV {
-
////////////////////////////////////////////////////////////////////////////////////////////////////
-// Interface to "SRV" service
+// Namespace SRV
+
+namespace SRV {
+/// Interface to "srv:" service
class Interface : public Service::Interface {
public: