From 9d3f36d09cc2921c5a3255287f5f19fbc9e501f4 Mon Sep 17 00:00:00 2001 From: Knightmare66 Date: Fri, 30 Oct 2020 17:08:45 -0400 Subject: [PATCH] Added CPUID detection for 5000 series Ryzen CPUs. --- win32/sys_win.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/win32/sys_win.c b/win32/sys_win.c index c9d31e9..db4a4ff 100644 --- a/win32/sys_win.c +++ b/win32/sys_win.c @@ -797,6 +797,16 @@ NoExtFunction: break; } } + else if (extFamily == 0x19) // Ryzen Zen3 Family + { + switch (model) + { + case 1: + if (extModel == 0x21) // Vermeer (Zen3) + Q_strncatz(cpuString, " Ryzen 9/7/5/3 5x00", maxSize); + break; + } + } break; default: // unknown family break;