Checks whether system is using dark mode or not.
Signature:
using fnShouldAppsUseDarkMode = bool (WINAPI*)(); // ordinal 132| #!/usr/bin/env node | |
| "use strict"; | |
| var fs = require("fs"); | |
| var V86Starter = require("../build/libv86.js").V86Starter; | |
| function readfile(path) | |
| { | |
| return new Uint8Array(fs.readFileSync(path)).buffer; | |
| } |
| From 839b964bd5be20275a4d1add020e68e407380adb Mon Sep 17 00:00:00 2001 | |
| From: =?UTF-8?q?Joan=20Bruguera=20Mic=C3=B3?= <[email protected]> | |
| Date: Sat, 17 Aug 2024 14:26:04 +0000 | |
| Subject: [PATCH] Tentative fix for NVIDIA 470.256.02 driver for Linux 6.12-rc1 | |
| Note that the fix requires enabling DRM kernel mode setting | |
| (add the `nvidia-drm.modeset=1` parameter to the kernel command line). | |
| (Thanks xtexChooser for the memory management fixes!) | |
| --- |
| From 9f91b171f680648647580c163bbc9cc1641e3920 Mon Sep 17 00:00:00 2001 | |
| From: =?UTF-8?q?Joan=20Bruguera=20Mic=C3=B3?= <[email protected]> | |
| Date: Sat, 16 Nov 2024 22:45:21 +0000 | |
| Subject: [PATCH] Tentative fix for NVIDIA 470.256.02 driver for Linux 6.13-rc1 | |
| --- | |
| nvidia-modeset/nvidia-modeset.Kbuild | 8 +++++--- | |
| nvidia/nvidia.Kbuild | 8 +++++--- | |
| 2 files changed, 10 insertions(+), 6 deletions(-) |
| From bee3ff1153f7b42491d2a0552d6f9a66a307ec1a Mon Sep 17 00:00:00 2001 | |
| From: =?UTF-8?q?Joan=20Bruguera=20Mic=C3=B3?= <[email protected]> | |
| Date: Sun, 15 Dec 2024 17:56:03 +0000 | |
| Subject: [PATCH] Tentative fix for NVIDIA 470.256.02 driver for Linux 6.14-rc1 | |
| --- | |
| nvidia-drm/nvidia-drm-drv.c | 3 +++ | |
| 1 file changed, 3 insertions(+) | |
| diff --git a/nvidia-drm/nvidia-drm-drv.c b/nvidia-drm/nvidia-drm-drv.c |
| From c9a877ea48935bb40597cc2e7d88b0035a27e6f2 Mon Sep 17 00:00:00 2001 | |
| From: =?UTF-8?q?Joan=20Bruguera=20Mic=C3=B3?= <[email protected]> | |
| Date: Sat, 12 Apr 2025 22:46:59 +0000 | |
| Subject: [PATCH] Tentative fix for NVIDIA 470.256.02 driver for Linux 6.15-rc1 | |
| The trickier part of this patch is that vm_flags_set and vm_flags_clear | |
| depend on a GPL-only symbol (__vma_start_write) since Linux >=6.15. | |
| In some situations (mainly nvidia_mmap_helper), we can replace it by | |
| vm_flags_reset as the VMA gets locked by other previous calls. |