mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-30 10:42:47 +01:00
core: hle: kernel: Begin moving common SVC results to its own header.
This commit is contained in:
parent
8fc6e92ef1
commit
1ae883435d
2 changed files with 21 additions and 0 deletions
|
@ -210,6 +210,7 @@ add_library(core STATIC
|
||||||
hle/kernel/shared_memory.h
|
hle/kernel/shared_memory.h
|
||||||
hle/kernel/svc.cpp
|
hle/kernel/svc.cpp
|
||||||
hle/kernel/svc.h
|
hle/kernel/svc.h
|
||||||
|
hle/kernel/svc_results.h
|
||||||
hle/kernel/svc_types.h
|
hle/kernel/svc_types.h
|
||||||
hle/kernel/svc_wrap.h
|
hle/kernel/svc_wrap.h
|
||||||
hle/kernel/synchronization_object.cpp
|
hle/kernel/synchronization_object.cpp
|
||||||
|
|
20
src/core/hle/kernel/svc_results.h
Normal file
20
src/core/hle/kernel/svc_results.h
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
// Copyright 2020 yuzu emulator team
|
||||||
|
// Licensed under GPLv2 or any later version
|
||||||
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "core/hle/result.h"
|
||||||
|
|
||||||
|
namespace Kernel::Svc {
|
||||||
|
|
||||||
|
constexpr ResultCode ResultTerminationRequested{ErrorModule::Kernel, 59};
|
||||||
|
constexpr ResultCode ResultInvalidAddress{ErrorModule::Kernel, 102};
|
||||||
|
constexpr ResultCode ResultInvalidCurrentMemory{ErrorModule::Kernel, 106};
|
||||||
|
constexpr ResultCode ResultInvalidHandle{ErrorModule::Kernel, 114};
|
||||||
|
constexpr ResultCode ResultTimedOut{ErrorModule::Kernel, 117};
|
||||||
|
constexpr ResultCode ResultCancelled{ErrorModule::Kernel, 118};
|
||||||
|
constexpr ResultCode ResultInvalidEnumValue{ErrorModule::Kernel, 120};
|
||||||
|
constexpr ResultCode ResultInvalidState{ErrorModule::Kernel, 125};
|
||||||
|
|
||||||
|
} // namespace Kernel::Svc
|
Loading…
Reference in a new issue