diff options
| author | 2017-01-31 12:16:58 +0300 | |
|---|---|---|
| committer | 2017-01-31 01:16:58 -0800 | |
| commit | d0bf7df5ba11f19314b5b08d264de79bce691a45 (patch) | |
| tree | 2cec2e627b7e510084c3200ddc230cf347d3aa2b /src/core/hle/applets/mint.h | |
| parent | Common/x64: remove legacy emitter and abi (#2504) (diff) | |
| download | yuzu-d0bf7df5ba11f19314b5b08d264de79bce691a45.tar.gz yuzu-d0bf7df5ba11f19314b5b08d264de79bce691a45.tar.xz yuzu-d0bf7df5ba11f19314b5b08d264de79bce691a45.zip | |
HLE/Applets: Stub Mint (eShop) Applet (#2463)
This allows Phoenix Wright - Dual Destinies to boot.
Diffstat (limited to 'src/core/hle/applets/mint.h')
| -rw-r--r-- | src/core/hle/applets/mint.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/core/hle/applets/mint.h b/src/core/hle/applets/mint.h new file mode 100644 index 000000000..d23dc40f9 --- /dev/null +++ b/src/core/hle/applets/mint.h | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | // Copyright 2016 Citra Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #pragma once | ||
| 6 | |||
| 7 | #include "core/hle/applets/applet.h" | ||
| 8 | #include "core/hle/kernel/shared_memory.h" | ||
| 9 | |||
| 10 | namespace HLE { | ||
| 11 | namespace Applets { | ||
| 12 | |||
| 13 | class Mint final : public Applet { | ||
| 14 | public: | ||
| 15 | explicit Mint(Service::APT::AppletId id) : Applet(id) {} | ||
| 16 | |||
| 17 | ResultCode ReceiveParameter(const Service::APT::MessageParameter& parameter) override; | ||
| 18 | ResultCode StartImpl(const Service::APT::AppletStartupParameter& parameter) override; | ||
| 19 | void Update() override; | ||
| 20 | |||
| 21 | private: | ||
| 22 | /// This SharedMemory will be created when we receive the Request message. | ||
| 23 | /// It holds the framebuffer info retrieved by the application with | ||
| 24 | /// GSPGPU::ImportDisplayCaptureInfo | ||
| 25 | Kernel::SharedPtr<Kernel::SharedMemory> framebuffer_memory; | ||
| 26 | }; | ||
| 27 | |||
| 28 | } // namespace Applets | ||
| 29 | } // namespace HLE | ||