summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergi Granell2017-08-03 22:28:43 +0200
committerGitHub2017-08-03 22:28:43 +0200
commitc73e88f15f8f74986a0709da5ba252738dcf05ba (patch)
treea66c85f157c1165dbb4b4db7a02600751343b84f
parentChanged sceLsdbGetMode to sceLsdbGetStyle (diff)
parentAdded scePowerGet/SetUsingWireless prototypes. (diff)
downloadvds-libraries-c73e88f15f8f74986a0709da5ba252738dcf05ba.tar.gz
Merge pull request #212 from Rinnegatamante/wireless
Added scePowerGet/SetUsingWireless prototypes.
Diffstat (limited to '')
-rw-r--r--include/user/power.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/user/power.h b/include/user/power.h
index 55a5543..c05bd92 100644
--- a/include/user/power.h
+++ b/include/user/power.h
@@ -227,6 +227,22 @@ int scePowerSetGpuClockFrequency(int freq);
*/
int scePowerSetGpuXbarClockFrequency(int freq);
+/**
+ * Sets wireless features usage
+ *
+ * @param enabled - SCE_TRUE to enable, SCE_FALSE to disable
+ *
+ * @return 0 on success, < 0 on error
+ */
+int scePowerSetUsingWireless(SceBool enabled);
+
+/**
+ * Gets wireless features usage
+ *
+ * @return SCE_TRUE if enabled, SCE_FALSE otherwise
+ */
+int scePowerGetUsingWireless(void);
+
#ifdef __cplusplus
}
#endif