summaryrefslogtreecommitdiff
path: root/include/user/power.h
diff options
context:
space:
mode:
authorDerColonel2017-01-05 20:23:46 +0100
committerdevnoname1202017-01-05 20:36:04 +0100
commitc56b8fb9c6214b95715ed74f100b71c8681c1740 (patch)
tree99a5a82669b508a9f050a80c14bf1e16da472042 /include/user/power.h
parentAdd more SceUdcd NIDs and defines (thanks to @TheOfficialFloW) (diff)
downloadvds-libraries-c56b8fb9c6214b95715ed74f100b71c8681c1740.tar.gz
Update power.h
Added cold reset, shutdown and suspend functions.
Diffstat (limited to '')
-rw-r--r--include/user/power.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/user/power.h b/include/user/power.h
index 7f9dd04..75f1673 100644
--- a/include/user/power.h
+++ b/include/user/power.h
@@ -127,6 +127,27 @@ int scePowerGetGpuClockFrequency(void);
int scePowerGetGpuXbarClockFrequency(void);
/**
+ * Requests PS Vita to do a cold reset
+ *
+ * @return always 0
+ */
+int scePowerRequestColdReset(void);
+
+/**
+ * Requests PS Vita to go into standby
+ *
+ * @return always 0
+ */
+int scePowerRequestStandby(void);
+
+/**
+ * Requests PS Vita to suspend
+ *
+ * @return always 0
+ */
+int scePowerRequestSuspend(void);
+
+/**
* Sets CPU clock frequency
*
* @param freq - Frequency to set in Mhz