Add support for functions returning void, that get you a some data behind a void *.

This commit is contained in:
asuessenbach
2022-08-01 10:00:11 +02:00
parent 9bb1bb385a
commit d3c95e9527
2 changed files with 26 additions and 16 deletions

View File

@@ -36,7 +36,7 @@ std::string decodeDriverVersion( uint32_t driverVersion, uint32_t vendorID )
{
switch ( vendorID )
{
case 4318:
case 0x10DE:
return std::to_string( ( driverVersion >> 22 ) & 0x3FF ) + "." + std::to_string( ( driverVersion >> 14 ) & 0xFF ) + "." +
std::to_string( ( driverVersion >> 6 ) & 0xFF ) + "." + std::to_string( driverVersion & 0x3F );
case 0x8086: return std::to_string( ( driverVersion >> 14 ) & 0x3FFFF ) + "." + std::to_string( ( driverVersion & 0x3FFF ) );