shadPS4/src/Core/PS4/HLE/ErrorCodes.h

9 lines
481 B
C
Raw Normal View History

2023-07-18 17:54:46 +02:00
#pragma once
constexpr int SCE_OK = 0;
2023-08-17 09:10:13 +02:00
constexpr int SCE_KERNEL_ERROR_ENOMEM = 0x8002000c; // Insufficient memory
constexpr int SCE_KERNEL_ERROR_EFAULT = 0x8002000e; // Invalid address pointer
constexpr int SCE_KERNEL_ERROR_EINVAL = 0x80020016; // null or invalid states
constexpr int SCE_KERNEL_ERROR_EAGAIN = 0x80020023; // Memory cannot be allocated
constexpr int SCE_KERNEL_ERROR_ENAMETOOLONG = 0x8002003f; // character strings exceeds valid size