0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-31 12:52:11 +00:00
Files
termux-packages/x11-packages/mangohud/src-overlay.cpp.patch
2025-02-24 16:20:18 +02:00

14 lines
438 B
Diff

Workaround [error] [file_utils.cpp:50] Error opening directory '/sys/class/hwmon/': Permission denied
--- a/src/overlay.cpp
+++ b/src/overlay.cpp
@@ -112,8 +112,6 @@
void update_hw_info(const struct overlay_params& params, uint32_t vendorID)
{
- if (params.enabled[OVERLAY_PARAM_ENABLED_fan])
- update_fan();
if (params.enabled[OVERLAY_PARAM_ENABLED_cpu_stats] || logger->is_active()) {
cpuStats.UpdateCPUData();