diff options
| author | 2023-05-07 12:18:09 -0700 | |
|---|---|---|
| committer | 2023-05-07 12:18:09 -0700 | |
| commit | e58090c9c731701662d0824c2fd081467f21f5c3 (patch) | |
| tree | f35c9a080f3b5a9067381b615eca928e8825ee20 /src/core/frontend | |
| parent | Merge pull request #10192 from bunnei/update-dynarmic-2 (diff) | |
| parent | service: nfc: Merge device interfaces and create the device manager (diff) | |
| download | yuzu-e58090c9c731701662d0824c2fd081467f21f5c3.tar.gz yuzu-e58090c9c731701662d0824c2fd081467f21f5c3.tar.xz yuzu-e58090c9c731701662d0824c2fd081467f21f5c3.zip | |
Merge pull request #10097 from german77/nfp_full
service: nfc: Merge device interfaces and create the device manager
Diffstat (limited to 'src/core/frontend')
| -rw-r--r-- | src/core/frontend/applets/cabinet.cpp | 2 | ||||
| -rw-r--r-- | src/core/frontend/applets/cabinet.h | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/core/frontend/applets/cabinet.cpp b/src/core/frontend/applets/cabinet.cpp index 2d501eeae..c33ce248b 100644 --- a/src/core/frontend/applets/cabinet.cpp +++ b/src/core/frontend/applets/cabinet.cpp | |||
| @@ -14,7 +14,7 @@ void DefaultCabinetApplet::Close() const {} | |||
| 14 | 14 | ||
| 15 | void DefaultCabinetApplet::ShowCabinetApplet( | 15 | void DefaultCabinetApplet::ShowCabinetApplet( |
| 16 | const CabinetCallback& callback, const CabinetParameters& parameters, | 16 | const CabinetCallback& callback, const CabinetParameters& parameters, |
| 17 | std::shared_ptr<Service::NFP::NfpDevice> nfp_device) const { | 17 | std::shared_ptr<Service::NFC::NfcDevice> nfp_device) const { |
| 18 | LOG_WARNING(Service_AM, "(STUBBED) called"); | 18 | LOG_WARNING(Service_AM, "(STUBBED) called"); |
| 19 | callback(false, {}); | 19 | callback(false, {}); |
| 20 | } | 20 | } |
diff --git a/src/core/frontend/applets/cabinet.h b/src/core/frontend/applets/cabinet.h index 74dc5a4f6..af3fc6c3d 100644 --- a/src/core/frontend/applets/cabinet.h +++ b/src/core/frontend/applets/cabinet.h | |||
| @@ -7,9 +7,9 @@ | |||
| 7 | #include "core/frontend/applets/applet.h" | 7 | #include "core/frontend/applets/applet.h" |
| 8 | #include "core/hle/service/nfp/nfp_types.h" | 8 | #include "core/hle/service/nfp/nfp_types.h" |
| 9 | 9 | ||
| 10 | namespace Service::NFP { | 10 | namespace Service::NFC { |
| 11 | class NfpDevice; | 11 | class NfcDevice; |
| 12 | } // namespace Service::NFP | 12 | } // namespace Service::NFC |
| 13 | 13 | ||
| 14 | namespace Core::Frontend { | 14 | namespace Core::Frontend { |
| 15 | 15 | ||
| @@ -26,14 +26,14 @@ public: | |||
| 26 | virtual ~CabinetApplet(); | 26 | virtual ~CabinetApplet(); |
| 27 | virtual void ShowCabinetApplet(const CabinetCallback& callback, | 27 | virtual void ShowCabinetApplet(const CabinetCallback& callback, |
| 28 | const CabinetParameters& parameters, | 28 | const CabinetParameters& parameters, |
| 29 | std::shared_ptr<Service::NFP::NfpDevice> nfp_device) const = 0; | 29 | std::shared_ptr<Service::NFC::NfcDevice> nfp_device) const = 0; |
| 30 | }; | 30 | }; |
| 31 | 31 | ||
| 32 | class DefaultCabinetApplet final : public CabinetApplet { | 32 | class DefaultCabinetApplet final : public CabinetApplet { |
| 33 | public: | 33 | public: |
| 34 | void Close() const override; | 34 | void Close() const override; |
| 35 | void ShowCabinetApplet(const CabinetCallback& callback, const CabinetParameters& parameters, | 35 | void ShowCabinetApplet(const CabinetCallback& callback, const CabinetParameters& parameters, |
| 36 | std::shared_ptr<Service::NFP::NfpDevice> nfp_device) const override; | 36 | std::shared_ptr<Service::NFC::NfcDevice> nfp_device) const override; |
| 37 | }; | 37 | }; |
| 38 | 38 | ||
| 39 | } // namespace Core::Frontend | 39 | } // namespace Core::Frontend |