diff options
author | bunnei <ericbunnie@gmail.com> | 2014-04-11 01:58:28 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-04-11 01:58:28 +0200 |
commit | f68de21ad1cd267029b60ee3767d219c46f5fba0 (patch) | |
tree | 47d44cfed0c2bd071c75b03a157e7b8a61d85b0d /src/core/hle/hle_syscall.h | |
parent | missed this file with commit 95e5436f (diff) | |
download | yuzu-f68de21ad1cd267029b60ee3767d219c46f5fba0.tar yuzu-f68de21ad1cd267029b60ee3767d219c46f5fba0.tar.gz yuzu-f68de21ad1cd267029b60ee3767d219c46f5fba0.tar.bz2 yuzu-f68de21ad1cd267029b60ee3767d219c46f5fba0.tar.lz yuzu-f68de21ad1cd267029b60ee3767d219c46f5fba0.tar.xz yuzu-f68de21ad1cd267029b60ee3767d219c46f5fba0.tar.zst yuzu-f68de21ad1cd267029b60ee3767d219c46f5fba0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/hle_syscall.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/core/hle/hle_syscall.h b/src/core/hle/hle_syscall.h new file mode 100644 index 000000000..506dcfc78 --- /dev/null +++ b/src/core/hle/hle_syscall.h @@ -0,0 +1,42 @@ +// Copyright 2014 Citra Emulator Project +// Licensed under GPLv2 +// Refer to the license.txt file included. + +#pragma once + +#include "common/common_types.h" + +//////////////////////////////////////////////////////////////////////////////////////////////////// + +//template <class T> +//class KernelObject { +//public: +// virtual ~KernelObject() {} +// +// T GetNative() const { +// return m_native; +// } +// +// void SetNative(const T& native) { +// m_native = native; +// } +// +// virtual const char *GetTypeName() {return "[BAD KERNEL OBJECT TYPE]";} +// virtual const char *GetName() {return "[UNKNOWN KERNEL OBJECT]";} +// +//private: +// T m_native; +//}; + +//class Handle : public KernelObject<u32> { +// const char* GetTypeName() { +// return "Handle"; +// } +//}; + + +typedef u32 Handle; +typedef s32 Result; + + +Result ConnectToPort(Handle* out, const char* port_name); |