summaryrefslogtreecommitdiff
path: root/include/kernel/lowio
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/kernel/lowio
parentAdd SceKernelForMono functions (diff)
downloadvds-libraries-4b52330f2df74aa1f48551973fd0d8f851123f42.tar.gz
Make errors signed
Diffstat (limited to 'include/kernel/lowio')
-rw-r--r--include/kernel/lowio/dsi.h8
-rw-r--r--include/kernel/lowio/gpio.h6
-rw-r--r--include/kernel/lowio/i2c.h6
-rw-r--r--include/kernel/lowio/iftu.h8
4 files changed, 14 insertions, 14 deletions
diff --git a/include/kernel/lowio/dsi.h b/include/kernel/lowio/dsi.h
index e083055..4400a68 100644
--- a/include/kernel/lowio/dsi.h
+++ b/include/kernel/lowio/dsi.h
@@ -8,10 +8,10 @@ extern "C" {
#endif
typedef enum SceDsiErrorCode {
- SCE_DSI_ERROR_INVALID_HEAD = 0x803F0600,
- SCE_DSI_ERROR_INVALID_STATE = 0x803F0601,
- SCE_DSI_ERROR_INVALID_PARAM = 0x803F0602,
- SCE_DSI_ERROR_HEAD_NOT_ENABLED = 0x803F0603,
+ SCE_DSI_ERROR_INVALID_HEAD = (int)0x803F0600,
+ SCE_DSI_ERROR_INVALID_STATE = (int)0x803F0601,
+ SCE_DSI_ERROR_INVALID_PARAM = (int)0x803F0602,
+ SCE_DSI_ERROR_HEAD_NOT_ENABLED = (int)0x803F0603,
} SceDsiErrorCode;
typedef enum SceDsiHead {
diff --git a/include/kernel/lowio/gpio.h b/include/kernel/lowio/gpio.h
index 49322d4..5705ddf 100644
--- a/include/kernel/lowio/gpio.h
+++ b/include/kernel/lowio/gpio.h
@@ -8,9 +8,9 @@ extern "C" {
#endif
typedef enum SceGpioErrorCode {
- SCE_GPIO_ERROR_INVALID_BUS = 0x803F0100,
- SCE_GPIO_ERROR_INVALID_PORT = 0x803F0101,
- SCE_GPIO_ERROR_INVALID_MODE = 0x803F0102
+ SCE_GPIO_ERROR_INVALID_BUS = (int)0x803F0100,
+ SCE_GPIO_ERROR_INVALID_PORT = (int)0x803F0101,
+ SCE_GPIO_ERROR_INVALID_MODE = (int)0x803F0102
} SceGpioErrorCode;
typedef enum SceGpioPortMasks {
diff --git a/include/kernel/lowio/i2c.h b/include/kernel/lowio/i2c.h
index 961f1df..4ca3178 100644
--- a/include/kernel/lowio/i2c.h
+++ b/include/kernel/lowio/i2c.h
@@ -8,9 +8,9 @@ extern "C" {
#endif
typedef enum SceI2cErrorCode {
- SCE_I2C_ERROR_INVALID_BUS = 0x803F0300,
- SCE_I2C_ERROR_INVALID_SIZE = 0x803F0302,
- SCE_I2C_ERROR_INVALID_ADDR = 0x803F0303
+ SCE_I2C_ERROR_INVALID_BUS = (int)0x803F0300,
+ SCE_I2C_ERROR_INVALID_SIZE = (int)0x803F0302,
+ SCE_I2C_ERROR_INVALID_ADDR = (int)0x803F0303
} SceI2cErrorCode;
typedef struct SceI2cDebugHandlers {
diff --git a/include/kernel/lowio/iftu.h b/include/kernel/lowio/iftu.h
index a03d221..9580219 100644
--- a/include/kernel/lowio/iftu.h
+++ b/include/kernel/lowio/iftu.h
@@ -8,10 +8,10 @@ extern "C" {
#endif
typedef enum SceIftuErrorCode {
- SCE_IFTU_ERROR_INVALID_PLANE = 0x803F0700,
- SCE_IFTU_ERROR_INVALID_PARAM = 0x803F0701,
- SCE_IFTU_ERROR_INVALID_PIXELFORMAT = 0x803F0703,
- SCE_IFTU_ERROR_PLANE_BUSY = 0x803F0704,
+ SCE_IFTU_ERROR_INVALID_PLANE = (int)0x803F0700,
+ SCE_IFTU_ERROR_INVALID_PARAM = (int)0x803F0701,
+ SCE_IFTU_ERROR_INVALID_PIXELFORMAT = (int)0x803F0703,
+ SCE_IFTU_ERROR_PLANE_BUSY = (int)0x803F0704,
} SceIftuErrorCode;
typedef enum SceIftuPixelformat {