summaryrefslogtreecommitdiff
path: root/include/user/ctrl.h
diff options
context:
space:
mode:
authorReiko Asakura2020-09-19 16:13:58 -0400
committerReiko Asakura2020-09-19 16:13:58 -0400
commit4b52330f2df74aa1f48551973fd0d8f851123f42 (patch)
tree33d05d23766c42367d31cc15313ddb04be6c7f8b /include/user/ctrl.h
parentAdd SceKernelForMono functions (diff)
downloadvds-libraries-4b52330f2df74aa1f48551973fd0d8f851123f42.tar.gz
Make errors signed
Diffstat (limited to 'include/user/ctrl.h')
-rw-r--r--include/user/ctrl.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/user/ctrl.h b/include/user/ctrl.h
index 4758f6c..221f2bb 100644
--- a/include/user/ctrl.h
+++ b/include/user/ctrl.h
@@ -9,12 +9,12 @@ extern "C" {
#endif
typedef enum SceCtrlErrorCode {
- SCE_CTRL_ERROR_INVALID_ARG = 0x80340001,
- SCE_CTRL_ERROR_PRIV_REQUIRED = 0x80340002,
- SCE_CTRL_ERROR_NO_DEVICE = 0x80340020,
- SCE_CTRL_ERROR_NOT_SUPPORTED = 0x80340021,
- SCE_CTRL_ERROR_INVALID_MODE = 0x80340022,
- SCE_CTRL_ERROR_FATAL = 0x803400FF
+ SCE_CTRL_ERROR_INVALID_ARG = (int)0x80340001,
+ SCE_CTRL_ERROR_PRIV_REQUIRED = (int)0x80340002,
+ SCE_CTRL_ERROR_NO_DEVICE = (int)0x80340020,
+ SCE_CTRL_ERROR_NOT_SUPPORTED = (int)0x80340021,
+ SCE_CTRL_ERROR_INVALID_MODE = (int)0x80340022,
+ SCE_CTRL_ERROR_FATAL = (int)0x803400FF
} SceCtrlErrorCode;
/** Enumeration for the digital controller buttons.