diff options
| -rw-r--r-- | src/core/hle/service/soc_u.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/hle/service/soc_u.cpp b/src/core/hle/service/soc_u.cpp index 4279b67fb..46b75db25 100644 --- a/src/core/hle/service/soc_u.cpp +++ b/src/core/hle/service/soc_u.cpp | |||
| @@ -104,7 +104,9 @@ static const std::unordered_map<int, int> error_map = {{ | |||
| 104 | {ERRNO(ENETUNREACH), 40}, | 104 | {ERRNO(ENETUNREACH), 40}, |
| 105 | {ENFILE, 41}, | 105 | {ENFILE, 41}, |
| 106 | {ERRNO(ENOBUFS), 42}, | 106 | {ERRNO(ENOBUFS), 42}, |
| 107 | #ifdef ENODATA | ||
| 107 | {ENODATA, 43}, | 108 | {ENODATA, 43}, |
| 109 | #endif | ||
| 108 | {ENODEV, 44}, | 110 | {ENODEV, 44}, |
| 109 | {ENOENT, 45}, | 111 | {ENOENT, 45}, |
| 110 | {ENOEXEC, 46}, | 112 | {ENOEXEC, 46}, |
| @@ -114,8 +116,12 @@ static const std::unordered_map<int, int> error_map = {{ | |||
| 114 | {ENOMSG, 50}, | 116 | {ENOMSG, 50}, |
| 115 | {ERRNO(ENOPROTOOPT), 51}, | 117 | {ERRNO(ENOPROTOOPT), 51}, |
| 116 | {ENOSPC, 52}, | 118 | {ENOSPC, 52}, |
| 119 | #ifdef ENOSR | ||
| 117 | {ENOSR, 53}, | 120 | {ENOSR, 53}, |
| 121 | #endif | ||
| 122 | #ifdef ENOSTR | ||
| 118 | {ENOSTR, 54}, | 123 | {ENOSTR, 54}, |
| 124 | #endif | ||
| 119 | {ENOSYS, 55}, | 125 | {ENOSYS, 55}, |
| 120 | {ERRNO(ENOTCONN), 56}, | 126 | {ERRNO(ENOTCONN), 56}, |
| 121 | {ENOTDIR, 57}, | 127 | {ENOTDIR, 57}, |
| @@ -136,7 +142,9 @@ static const std::unordered_map<int, int> error_map = {{ | |||
| 136 | {ESPIPE, 72}, | 142 | {ESPIPE, 72}, |
| 137 | {ESRCH, 73}, | 143 | {ESRCH, 73}, |
| 138 | {ERRNO(ESTALE), 74}, | 144 | {ERRNO(ESTALE), 74}, |
| 145 | #ifdef ETIME | ||
| 139 | {ETIME, 75}, | 146 | {ETIME, 75}, |
| 147 | #endif | ||
| 140 | {ERRNO(ETIMEDOUT), 76}, | 148 | {ERRNO(ETIMEDOUT), 76}, |
| 141 | }}; | 149 | }}; |
| 142 | 150 | ||