graphics() virtual controller vram value fix (win)

This commit is contained in:
Sebastian Hildebrandt 2021-01-25 08:49:50 +01:00
parent ddb16ad910
commit edb2ed22be
4 changed files with 10 additions and 4 deletions

View File

@ -30,7 +30,8 @@ For major (breaking) changes - version 3 and 2 see end of page.
| Version | Date | Comment | | 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.7 | 2020-01-13 | `services()` improved service discovery (linux) |
| 4.34.6 | 2020-01-12 | `networkInterfaces()` catch errors | | 4.34.6 | 2020-01-12 | `networkInterfaces()` catch errors |
| 4.34.5 | 2020-01-07 | `networkInterfaceDefault()` fixed CMD popup (windows) | | 4.34.5 | 2020-01-07 | `networkInterfaceDefault()` fixed CMD popup (windows) |

View File

@ -83,10 +83,15 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr>
<th scope="row">4.34.9</th>
<td>2020-01-25</td>
<td><span class="code">graphics()</span> virtual controller vram value fix (win)</td>
</tr>
<tr> <tr>
<th scope="row">4.34.8</th> <th scope="row">4.34.8</th>
<td>2020-01-25</td> <td>2020-01-25</td>
<td><span class="code">graphics()</span> controller subid fix (win)</td> <td><span class="code">graphics()</span> controller subDeviceId fix (win)</td>
</tr> </tr>
<tr> <tr>
<th scope="row">4.34.7</th> <th scope="row">4.34.7</th>

View File

@ -169,7 +169,7 @@
<img class="logo" src="assets/logo.png"> <img class="logo" src="assets/logo.png">
<div class="title">systeminformation</div> <div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span></div> <div class="subtitle"><span id="typed"></span></div>
<div class="version">Current Version: <span id="version">4.34.8</span></div> <div class="version">Current Version: <span id="version">4.34.9</span></div>
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button> <button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
</div> </div>
<div class="down"> <div class="down">

View File

@ -899,7 +899,7 @@ function graphics(callback) {
vendor: util.getValue(lines, 'AdapterCompatibility', '='), vendor: util.getValue(lines, 'AdapterCompatibility', '='),
model: util.getValue(lines, 'name', '='), model: util.getValue(lines, 'name', '='),
bus: util.getValue(lines, 'PNPDeviceID', '=').startsWith('PCI') ? 'PCI' : '', 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'), vramDynamic: (util.getValue(lines, 'VideoMemoryType', '=') === '2'),
subDeviceId subDeviceId
}); });