nixos-x13s/packages/pd-mapper/pd-mapper-firmware-path.diff

14 lines
362 B
Diff
Raw Normal View History

2024-01-22 18:47:25 +01:00
diff --git a/pd-mapper.c b/pd-mapper.c
index 65c4b80..669d9a0 100644
--- a/pd-mapper.c
+++ b/pd-mapper.c
@@ -194,7 +194,7 @@ static int pd_load_map(const char *file)
}
2024-01-22 18:47:25 +01:00
#ifndef ANDROID
-#define FIRMWARE_BASE "/lib/firmware/"
+#define FIRMWARE_BASE "/run/current-system/sw/share/uncompressed-firmware/"
2024-01-22 18:47:25 +01:00
#else
#define FIRMWARE_BASE "/vendor/firmware/"
#endif