aboutsummaryrefslogtreecommitdiff
path: root/src/hid_core/resources/digitizer
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-02-03 11:10:14 -0500
committerGitHub <noreply@github.com>2024-02-03 11:10:14 -0500
commit25f3d358b12a7108adb8e19fb263dbcd796324a5 (patch)
treed290132490d074cec7bc61f3621a51b25ede8d24 /src/hid_core/resources/digitizer
parenta3c8bb251d07f69e62b01914c5e0df88d2dad93c (diff)
parent818721d12d04f3a9cdf98e9cc31deae171ce6f7e (diff)
Merge pull request #12877 from german77/npad-fixed
service: hid: Multiple fixes
Diffstat (limited to 'src/hid_core/resources/digitizer')
-rw-r--r--src/hid_core/resources/digitizer/digitizer.cpp4
-rw-r--r--src/hid_core/resources/digitizer/digitizer.h3
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