Added CELL_CANCEL

This commit is contained in:
Nekotekina 2017-05-14 23:30:52 +03:00
parent 3a1f1dbc1a
commit 81c8d3f27a
2 changed files with 7 additions and 18 deletions

View file

@ -1,18 +1,13 @@
#pragma once #pragma once
struct CellOk enum CellNotAnError : s32
{ {
enum : s32 CELL_OK = 0,
{ CELL_CANCEL = 1,
__not_an_error,
CELL_OK = 0 __not_an_error
};
}; };
// Temporary workaround
constexpr auto CELL_OK = CellOk::CELL_OK;
enum CellError : u32 enum CellError : u32
{ {
CELL_EAGAIN = 0x80010001, // The resource is temporarily unavailable CELL_EAGAIN = 0x80010001, // The resource is temporarily unavailable

View file

@ -1,18 +1,12 @@
#pragma once #pragma once
struct SceOk enum SceNotAnError : s32
{ {
enum : s32 SCE_OK = 0,
{
__not_an_error,
SCE_OK = 0 __not_an_error
};
}; };
// Temporary workaround
constexpr auto SCE_OK = SceOk::SCE_OK;
enum SceError : u32 enum SceError : u32
{ {
SCE_ERROR_ERRNO_EPERM = 0x80010001, SCE_ERROR_ERRNO_EPERM = 0x80010001,