diff options
author | bunnei <bunneidev@gmail.com> | 2017-11-01 00:26:11 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-11-01 00:26:11 +0100 |
commit | 34571f4d2e80a3194a3c4cb697dba674d11a35b4 (patch) | |
tree | b2b4b70d7a5bdea95ef5d44733eedf7e6b3b7009 /src/core/hle/service | |
parent | externals: Update dynarmic and xbyak. (diff) | |
download | yuzu-34571f4d2e80a3194a3c4cb697dba674d11a35b4.tar yuzu-34571f4d2e80a3194a3c4cb697dba674d11a35b4.tar.gz yuzu-34571f4d2e80a3194a3c4cb697dba674d11a35b4.tar.bz2 yuzu-34571f4d2e80a3194a3c4cb697dba674d11a35b4.tar.lz yuzu-34571f4d2e80a3194a3c4cb697dba674d11a35b4.tar.xz yuzu-34571f4d2e80a3194a3c4cb697dba674d11a35b4.tar.zst yuzu-34571f4d2e80a3194a3c4cb697dba674d11a35b4.zip |
Diffstat (limited to 'src/core/hle/service')
-rw-r--r-- | src/core/hle/service/sm/sm.h | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/src/core/hle/service/sm/sm.h b/src/core/hle/service/sm/sm.h index eaae68ca1..eb463a656 100644 --- a/src/core/hle/service/sm/sm.h +++ b/src/core/hle/service/sm/sm.h @@ -35,19 +35,11 @@ private: class Controller; -constexpr ResultCode ERR_SERVICE_NOT_REGISTERED(1, ErrorModule::SRV, ErrorSummary::WouldBlock, - ErrorLevel::Temporary); // 0xD0406401 -constexpr ResultCode ERR_MAX_CONNECTIONS_REACHED(2, ErrorModule::SRV, ErrorSummary::WouldBlock, - ErrorLevel::Temporary); // 0xD0406402 -constexpr ResultCode ERR_INVALID_NAME_SIZE(5, ErrorModule::SRV, ErrorSummary::WrongArgument, - ErrorLevel::Permanent); // 0xD9006405 -constexpr ResultCode ERR_ACCESS_DENIED(6, ErrorModule::SRV, ErrorSummary::InvalidArgument, - ErrorLevel::Permanent); // 0xD8E06406 -constexpr ResultCode ERR_NAME_CONTAINS_NUL(7, ErrorModule::SRV, ErrorSummary::WrongArgument, - ErrorLevel::Permanent); // 0xD9006407 -constexpr ResultCode ERR_ALREADY_REGISTERED(ErrorDescription::AlreadyExists, ErrorModule::OS, - ErrorSummary::WrongArgument, - ErrorLevel::Permanent); // 0xD9001BFC +constexpr ResultCode ERR_SERVICE_NOT_REGISTERED(-1); +constexpr ResultCode ERR_MAX_CONNECTIONS_REACHED(-1); +constexpr ResultCode ERR_INVALID_NAME_SIZE(-1); +constexpr ResultCode ERR_NAME_CONTAINS_NUL(-1); +constexpr ResultCode ERR_ALREADY_REGISTERED(-1); class ServiceManager { public: |