parse SOCVendor/GPUVendor needs len param.

This commit is contained in:
2023-11-30 18:27:11 +08:00
parent 5e8b83cce4
commit c9a1298e02
4 changed files with 7 additions and 8 deletions

View File

@@ -41,7 +41,7 @@ namespace hgl
"JLQ",
};
const SOCVendor ParseSOCVendor(const char *str);
const SOCVendor ParseSOCVendor(const char *str,const int len=0);
enum class CpuArch
{
@@ -173,7 +173,7 @@ namespace hgl
"Maleoon",
};
const SOCGPUVendor ParseSOCGPUVendor(const char *str);
const SOCGPUVendor ParseSOCGPUVendor(const char *str,const int len=0);
struct SOCGPUInfo
{