aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/apt/apt.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-07-28 20:50:49 -0400
committerGitHub <noreply@github.com>2016-07-28 20:50:49 -0400
commit47fcd68b01a12143efa92ffa54bc9611fc376fd2 (patch)
tree92d57d519cc683f94902895149ad84c6df3cfd35 /src/core/hle/service/apt/apt.h
parente22b80b70fa4f97f5a0e0730e7a69d969b972831 (diff)
parentd5aa47478895386a59f59a650d7391e3598e6739 (diff)
Merge pull request #1950 from JamePeng/fix-apt-0x0055004-and-0x00560000
Correct APT::0x00550040 and APT::0x00560000 function
Diffstat (limited to 'src/core/hle/service/apt/apt.h')
-rw-r--r--src/core/hle/service/apt/apt.h26
1 files changed, 16 insertions, 10 deletions
diff --git a/src/core/hle/service/apt/apt.h b/src/core/hle/service/apt/apt.h
index 53cee4867..077a6a316 100644
--- a/src/core/hle/service/apt/apt.h
+++ b/src/core/hle/service/apt/apt.h
@@ -94,6 +94,13 @@ enum class StartupArgumentType : u32 {
OtherMedia = 2,
};
+enum class ScreencapPostPermission : u32 {
+ CleanThePermission = 0, //TODO(JamePeng): verify what "zero" means
+ NoExplicitSetting = 1,
+ EnableScreenshotPostingToMiiverse = 2,
+ DisableScreenshotPostingToMiiverse = 3
+};
+
/// Send a parameter to the currently-running application, which will read it via ReceiveParameter
void SendParameter(const MessageParameter& parameter);
@@ -383,25 +390,24 @@ void StartLibraryApplet(Service::Interface* self);
void GetStartupArgument(Service::Interface* self);
/**
- * APT::SetNSStateField service function
+ * APT::SetScreenCapPostPermission service function
* Inputs:
- * 1 : u8 NS state field
+ * 0 : Header Code[0x00550040]
+ * 1 : u8 The screenshot posting permission
* Outputs:
* 1 : Result of function, 0 on success, otherwise error code
- * Note:
- * This writes the input u8 to a NS state field.
*/
-void SetNSStateField(Service::Interface* self);
+void SetScreenCapPostPermission(Service::Interface* self);
/**
- * APT::GetNSStateField service function
+ * APT::GetScreenCapPostPermission service function
+ * Inputs:
+ * 0 : Header Code[0x00560000]
* Outputs:
* 1 : Result of function, 0 on success, otherwise error code
- * 8 : u8 NS state field
- * Note:
- * This returns a u8 NS state field(which can be set by cmd 0x00550040), at cmdreply+8.
+ * 2 : u8 The screenshot posting permission
*/
-void GetNSStateField(Service::Interface* self);
+void GetScreenCapPostPermission(Service::Interface* self);
/**
* APT::CheckNew3DSApp service function