Process commandlets without always initializing the entire engine

This commit is contained in:
Magnus Norddahl 2025-01-07 10:55:48 +01:00
commit 794cfd78c8
12 changed files with 110 additions and 25 deletions

View file

@ -35,6 +35,7 @@
#include <stdlib.h>
#include <string.h>
#include "x86.h"
#include "printf.h"
CPUInfo CPU;
@ -194,7 +195,7 @@ FString DumpCPUInfo(const CPUInfo *cpu, bool brief)
out.Format("CPU Vendor ID: %s\n", cpu->VendorID);
if (cpustring[0])
{
out.AppendFormat(" Name: %s\n", cpustring);
out.AppendFormat(" Name: " TEXTCOLOR_ORANGE "%s" TEXTCOLOR_NORMAL "\n", cpustring);
}
if (cpu->bIsAMD)
{