diff options
author | Lioncash <mathew1800@gmail.com> | 2016-12-10 13:51:50 +0100 |
---|---|---|
committer | linkmauve <linkmauve@linkmauve.fr> | 2016-12-11 01:07:27 +0100 |
commit | 963aedd8ccc207d5b65b97bd46b930771f2bda6e (patch) | |
tree | ab238398e6f8a37e4cd105d19dcec54f82ec1bb2 /src/core/hle/service/gsp_gpu.h | |
parent | configure_input: Modernize and cleanup input configuration tab (diff) | |
download | yuzu-963aedd8ccc207d5b65b97bd46b930771f2bda6e.tar yuzu-963aedd8ccc207d5b65b97bd46b930771f2bda6e.tar.gz yuzu-963aedd8ccc207d5b65b97bd46b930771f2bda6e.tar.bz2 yuzu-963aedd8ccc207d5b65b97bd46b930771f2bda6e.tar.lz yuzu-963aedd8ccc207d5b65b97bd46b930771f2bda6e.tar.xz yuzu-963aedd8ccc207d5b65b97bd46b930771f2bda6e.tar.zst yuzu-963aedd8ccc207d5b65b97bd46b930771f2bda6e.zip |
Diffstat (limited to 'src/core/hle/service/gsp_gpu.h')
-rw-r--r-- | src/core/hle/service/gsp_gpu.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/core/hle/service/gsp_gpu.h b/src/core/hle/service/gsp_gpu.h index 79a72f77d..c6e24073b 100644 --- a/src/core/hle/service/gsp_gpu.h +++ b/src/core/hle/service/gsp_gpu.h @@ -11,10 +11,8 @@ #include "core/hle/result.h" #include "core/hle/service/service.h" -//////////////////////////////////////////////////////////////////////////////////////////////////// -// Namespace GSP_GPU - -namespace GSP_GPU { +namespace Service { +namespace GSP { /// GSP interrupt ID enum class InterruptId : u8 { @@ -176,11 +174,10 @@ struct CommandBuffer { }; static_assert(sizeof(CommandBuffer) == 0x200, "CommandBuffer struct has incorrect size"); -/// Interface to "srv:" service -class Interface : public Service::Interface { +class GSP_GPU final : public Interface { public: - Interface(); - ~Interface() override; + GSP_GPU(); + ~GSP_GPU() override; std::string GetPortName() const override { return "gsp::Gpu"; @@ -203,4 +200,6 @@ ResultCode SetBufferSwap(u32 screen_id, const FrameBufferInfo& info); * @returns FramebufferUpdate Information about the specified framebuffer. */ FrameBufferUpdate* GetFrameBufferInfo(u32 thread_id, u32 screen_index); -} // namespace + +} // namespace GSP +} // namespace Service |