diff --git a/CHANGELOG.md b/CHANGELOG.md index 1873590..940766c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,7 +30,8 @@ For major (breaking) changes - version 3 and 2 see end of page. | Version | Date | Comment | | -------------- | -------------- | -------- | -| 4.34.8 | 2020-01-25 | `graphics()` controller subid fix (win) | +| 4.34.9 | 2020-01-25 | `graphics()` virtual controller vram value fix (win) | +| 4.34.8 | 2020-01-25 | `graphics()` controller subDeviceId fix (win) | | 4.34.7 | 2020-01-13 | `services()` improved service discovery (linux) | | 4.34.6 | 2020-01-12 | `networkInterfaces()` catch errors | | 4.34.5 | 2020-01-07 | `networkInterfaceDefault()` fixed CMD popup (windows) | diff --git a/docs/history.html b/docs/history.html index 7c379b3..0221c21 100644 --- a/docs/history.html +++ b/docs/history.html @@ -83,10 +83,15 @@ + + 4.34.9 + 2020-01-25 + graphics() virtual controller vram value fix (win) + 4.34.8 2020-01-25 - graphics() controller subid fix (win) + graphics() controller subDeviceId fix (win) 4.34.7 diff --git a/docs/index.html b/docs/index.html index f7842e5..97e3938 100644 --- a/docs/index.html +++ b/docs/index.html @@ -169,7 +169,7 @@
systeminformation
-
Current Version: 4.34.8
+
Current Version: 4.34.9
diff --git a/lib/graphics.js b/lib/graphics.js index 84d489a..0d7ea64 100644 --- a/lib/graphics.js +++ b/lib/graphics.js @@ -899,7 +899,7 @@ function graphics(callback) { vendor: util.getValue(lines, 'AdapterCompatibility', '='), model: util.getValue(lines, 'name', '='), bus: util.getValue(lines, 'PNPDeviceID', '=').startsWith('PCI') ? 'PCI' : '', - vram: parseInt(util.getValue(lines, 'AdapterRAM', '='), 10) / 1024 / 1024, + vram: util.toInt(util.getValue(lines, 'AdapterRAM', '=')) / 1024 / 1024, vramDynamic: (util.getValue(lines, 'VideoMemoryType', '=') === '2'), subDeviceId });