diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2024-02-01 01:46:06 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2024-02-01 17:37:44 +0100 |
commit | 818721d12d04f3a9cdf98e9cc31deae171ce6f7e (patch) | |
tree | 562a15e9da80eb96d5935d962820c0c9b116ac08 /src/hid_core/resources/digitizer | |
parent | Merge pull request #12878 from zhaobot/tx-update-20240201020554 (diff) | |
download | yuzu-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 'src/hid_core/resources/digitizer')
-rw-r--r-- | src/hid_core/resources/digitizer/digitizer.cpp | 4 | ||||
-rw-r--r-- | src/hid_core/resources/digitizer/digitizer.h | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/hid_core/resources/digitizer/digitizer.cpp b/src/hid_core/resources/digitizer/digitizer.cpp index cd72fd6e5..5d7dcadfe 100644 --- a/src/hid_core/resources/digitizer/digitizer.cpp +++ b/src/hid_core/resources/digitizer/digitizer.cpp @@ -17,10 +17,6 @@ void Digitizer::OnInit() {} void Digitizer::OnRelease() {} void Digitizer::OnUpdate(const Core::Timing::CoreTiming& core_timing) { - if (!smart_update) { - return; - } - std::scoped_lock shared_lock{*shared_mutex}; const u64 aruid = applet_resource->GetActiveAruid(); auto* data = applet_resource->GetAruidData(aruid); diff --git a/src/hid_core/resources/digitizer/digitizer.h b/src/hid_core/resources/digitizer/digitizer.h index e031a16b0..68b03111c 100644 --- a/src/hid_core/resources/digitizer/digitizer.h +++ b/src/hid_core/resources/digitizer/digitizer.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 |