diff options
| -rw-r--r-- | src/core/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | src/core/hle/kernel/svc_results.h | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 893df433a..d0c1beaf7 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt | |||
| @@ -210,6 +210,7 @@ add_library(core STATIC | |||
| 210 | hle/kernel/shared_memory.h | 210 | hle/kernel/shared_memory.h |
| 211 | hle/kernel/svc.cpp | 211 | hle/kernel/svc.cpp |
| 212 | hle/kernel/svc.h | 212 | hle/kernel/svc.h |
| 213 | hle/kernel/svc_results.h | ||
| 213 | hle/kernel/svc_types.h | 214 | hle/kernel/svc_types.h |
| 214 | hle/kernel/svc_wrap.h | 215 | hle/kernel/svc_wrap.h |
| 215 | hle/kernel/synchronization_object.cpp | 216 | hle/kernel/synchronization_object.cpp |
diff --git a/src/core/hle/kernel/svc_results.h b/src/core/hle/kernel/svc_results.h new file mode 100644 index 000000000..78282f021 --- /dev/null +++ b/src/core/hle/kernel/svc_results.h | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | // Copyright 2020 yuzu emulator team | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #pragma once | ||
| 6 | |||
| 7 | #include "core/hle/result.h" | ||
| 8 | |||
| 9 | namespace Kernel::Svc { | ||
| 10 | |||
| 11 | constexpr ResultCode ResultTerminationRequested{ErrorModule::Kernel, 59}; | ||
| 12 | constexpr ResultCode ResultInvalidAddress{ErrorModule::Kernel, 102}; | ||
| 13 | constexpr ResultCode ResultInvalidCurrentMemory{ErrorModule::Kernel, 106}; | ||
| 14 | constexpr ResultCode ResultInvalidHandle{ErrorModule::Kernel, 114}; | ||
| 15 | constexpr ResultCode ResultTimedOut{ErrorModule::Kernel, 117}; | ||
| 16 | constexpr ResultCode ResultCancelled{ErrorModule::Kernel, 118}; | ||
| 17 | constexpr ResultCode ResultInvalidEnumValue{ErrorModule::Kernel, 120}; | ||
| 18 | constexpr ResultCode ResultInvalidState{ErrorModule::Kernel, 125}; | ||
| 19 | |||
| 20 | } // namespace Kernel::Svc | ||