diff options
| author | 2015-01-23 03:44:52 -0200 | |
|---|---|---|
| committer | 2015-01-30 11:49:45 -0200 | |
| commit | 09ae6e1fa38bbf75dcb2796e96575fdba32ec69c (patch) | |
| tree | e760cb36500849a65931a2f0ad0d6174be617601 /src/core/hle/kernel/kernel.h | |
| parent | SVC: Change return type of handlers to ResultCode (diff) | |
| download | yuzu-09ae6e1fa38bbf75dcb2796e96575fdba32ec69c.tar.gz yuzu-09ae6e1fa38bbf75dcb2796e96575fdba32ec69c.tar.xz yuzu-09ae6e1fa38bbf75dcb2796e96575fdba32ec69c.zip | |
Remove result.h InvalidHandle
It was only being used in two places, where it was replaced by a local
constant.
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
| -rw-r--r-- | src/core/hle/kernel/kernel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index 08a5db3b7..9860479ac 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h | |||
| @@ -31,7 +31,8 @@ class Thread; | |||
| 31 | const ResultCode ERR_OUT_OF_HANDLES(ErrorDescription::OutOfMemory, ErrorModule::Kernel, | 31 | const ResultCode ERR_OUT_OF_HANDLES(ErrorDescription::OutOfMemory, ErrorModule::Kernel, |
| 32 | ErrorSummary::OutOfResource, ErrorLevel::Temporary); | 32 | ErrorSummary::OutOfResource, ErrorLevel::Temporary); |
| 33 | // TOOD: Verify code | 33 | // TOOD: Verify code |
| 34 | const ResultCode ERR_INVALID_HANDLE = InvalidHandle(ErrorModule::Kernel); | 34 | const ResultCode ERR_INVALID_HANDLE(ErrorDescription::InvalidHandle, ErrorModule::Kernel, |
| 35 | ErrorSummary::InvalidArgument, ErrorLevel::Permanent); | ||
| 35 | 36 | ||
| 36 | enum KernelHandle : Handle { | 37 | enum KernelHandle : Handle { |
| 37 | CurrentThread = 0xFFFF8000, | 38 | CurrentThread = 0xFFFF8000, |