summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/apt/apt.h
diff options
context:
space:
mode:
authorJamePeng <jame_peng@sina.com>2016-07-14 12:26:43 +0200
committerJamePeng <jame_peng@sina.com>2016-07-15 13:47:01 +0200
commitd5aa47478895386a59f59a650d7391e3598e6739 (patch)
tree6ace3faba9e2e50cea388efdd8cda057e2a2907f /src/core/hle/service/apt/apt.h
parentMerge pull request #1890 from LFsWang/fix-encode-problem (diff)
downloadyuzu-d5aa47478895386a59f59a650d7391e3598e6739.tar
yuzu-d5aa47478895386a59f59a650d7391e3598e6739.tar.gz
yuzu-d5aa47478895386a59f59a650d7391e3598e6739.tar.bz2
yuzu-d5aa47478895386a59f59a650d7391e3598e6739.tar.lz
yuzu-d5aa47478895386a59f59a650d7391e3598e6739.tar.xz
yuzu-d5aa47478895386a59f59a650d7391e3598e6739.tar.zst
yuzu-d5aa47478895386a59f59a650d7391e3598e6739.zip
Diffstat (limited to '')
-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