summaryrefslogtreecommitdiffstats
path: root/src/core/hle/result.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-01-23 06:44:52 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-01-30 14:49:45 +0100
commit09ae6e1fa38bbf75dcb2796e96575fdba32ec69c (patch)
treee760cb36500849a65931a2f0ad0d6174be617601 /src/core/hle/result.h
parentSVC: Change return type of handlers to ResultCode (diff)
downloadyuzu-09ae6e1fa38bbf75dcb2796e96575fdba32ec69c.tar
yuzu-09ae6e1fa38bbf75dcb2796e96575fdba32ec69c.tar.gz
yuzu-09ae6e1fa38bbf75dcb2796e96575fdba32ec69c.tar.bz2
yuzu-09ae6e1fa38bbf75dcb2796e96575fdba32ec69c.tar.lz
yuzu-09ae6e1fa38bbf75dcb2796e96575fdba32ec69c.tar.xz
yuzu-09ae6e1fa38bbf75dcb2796e96575fdba32ec69c.tar.zst
yuzu-09ae6e1fa38bbf75dcb2796e96575fdba32ec69c.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/result.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/hle/result.h b/src/core/hle/result.h
index ad06d00aa..948b9e38e 100644
--- a/src/core/hle/result.h
+++ b/src/core/hle/result.h
@@ -227,11 +227,6 @@ inline ResultCode UnimplementedFunction(ErrorModule module) {
return ResultCode(ErrorDescription::NotImplemented, module,
ErrorSummary::NotSupported, ErrorLevel::Permanent);
}
-/// Returned when a function is passed an invalid handle.
-inline ResultCode InvalidHandle(ErrorModule module) {
- return ResultCode(ErrorDescription::InvalidHandle, module,
- ErrorSummary::InvalidArgument, ErrorLevel::Permanent);
-}
/**
* This is an optional value type. It holds a `ResultCode` and, if that code is a success code,