- make DumpCPUInfo return a string instead of letting it print the info itself. Also consolidated I_Init, because both existing versions were identical.
This commit is contained in:
parent
76352dd9b3
commit
d523da1313
8 changed files with 28 additions and 54 deletions
|
|
@ -2542,7 +2542,10 @@ static int D_DoomMain_Internal (void)
|
|||
if (!restart)
|
||||
{
|
||||
if (!batchrun) Printf ("I_Init: Setting up machine state.\n");
|
||||
I_Init ();
|
||||
CheckCPUID(&CPU);
|
||||
CalculateCPUSpeed();
|
||||
auto ci = DumpCPUInfo(&CPU);
|
||||
Printf("%s", ci.GetChars());
|
||||
}
|
||||
|
||||
// [RH] Initialize palette management
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue