summaryrefslogtreecommitdiffstats
path: root/src/hid_core/resources/unique_pad
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2024-02-01 01:46:06 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2024-02-01 17:37:44 +0100
commit818721d12d04f3a9cdf98e9cc31deae171ce6f7e (patch)
tree562a15e9da80eb96d5935d962820c0c9b116ac08 /src/hid_core/resources/unique_pad
parentMerge pull request #12878 from zhaobot/tx-update-20240201020554 (diff)
downloadyuzu-818721d12d04f3a9cdf98e9cc31deae171ce6f7e.tar
yuzu-818721d12d04f3a9cdf98e9cc31deae171ce6f7e.tar.gz
yuzu-818721d12d04f3a9cdf98e9cc31deae171ce6f7e.tar.bz2
yuzu-818721d12d04f3a9cdf98e9cc31deae171ce6f7e.tar.lz
yuzu-818721d12d04f3a9cdf98e9cc31deae171ce6f7e.tar.xz
yuzu-818721d12d04f3a9cdf98e9cc31deae171ce6f7e.tar.zst
yuzu-818721d12d04f3a9cdf98e9cc31deae171ce6f7e.zip
Diffstat (limited to '')
-rw-r--r--src/hid_core/resources/unique_pad/unique_pad.cpp4
-rw-r--r--src/hid_core/resources/unique_pad/unique_pad.h3
2 files changed, 0 insertions, 7 deletions
diff --git a/src/hid_core/resources/unique_pad/unique_pad.cpp b/src/hid_core/resources/unique_pad/unique_pad.cpp
index 89fc57269..b2db55c5a 100644
--- a/src/hid_core/resources/unique_pad/unique_pad.cpp
+++ b/src/hid_core/resources/unique_pad/unique_pad.cpp
@@ -17,10 +17,6 @@ void UniquePad::OnInit() {}
void UniquePad::OnRelease() {}
void UniquePad::OnUpdate(const Core::Timing::CoreTiming& core_timing) {
- if (!smart_update) {
- return;
- }
-
const u64 aruid = applet_resource->GetActiveAruid();
auto* data = applet_resource->GetAruidData(aruid);
diff --git a/src/hid_core/resources/unique_pad/unique_pad.h b/src/hid_core/resources/unique_pad/unique_pad.h
index 674ad1691..4873b7f7e 100644
--- a/src/hid_core/resources/unique_pad/unique_pad.h
+++ b/src/hid_core/resources/unique_pad/unique_pad.h
@@ -20,8 +20,5 @@ public:
// When the controller is requesting an update for the shared memory
void OnUpdate(const Core::Timing::CoreTiming& core_timing) override;
-
-private:
- bool smart_update{};
};
} // namespace Service::HID