Skip to content

Commit

Permalink
Cut AMD/Intel in processor model name
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Feb 15, 2014
1 parent bd6b6d3 commit 4b92dc3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/i-nex/.src/FCpudb.module
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,23 @@ Public Sub _inits()
If Finfosys.Label14.Text Like "*Opteron*" Then 'Use Opteron databese if TextBox Like Opteron
Logs("Use AMD Opteron CPU Database", Logger.Info)
buffer = File.Load("Database/Opteron") 'Load the database to a temporary buffer
Finfosys.Label14.Text = Replace(Finfosys.Label14.Text, "AMD", "")
Else If Finfosys.Label14.Text Like "*amd*" Then
Logs("Use AMD CPU Database", Logger.Info)
buffer = File.Load("Database/amd") 'Load the database to a temporary buffer
Finfosys.Label14.Text = Replace(Finfosys.Label14.Text, "AMD", "")
Else If Finfosys.Label14.Text Like "*Xeon*" Then 'Use Xeon databese if TextBox Like Xeon
Logs("Use Intel Xeon CPU Database", Logger.Info)
buffer = File.Load("Database/Xeon") 'Load the database to a temporary buffer
Finfosys.Label14.Text = Replace(Finfosys.Label14.Text, "Intel", "")
Else If Finfosys.Label14.Text Like "*atom*" Then
Logs("Use Intel Atom CPU Database", Logger.Info)
buffer = File.Load("Database/atom") 'Load the database to a temporary buffer
Finfosys.Label14.Text = Replace(Finfosys.Label14.Text, "Intel", "")
Else If Finfosys.Label14.Text Like "*intel*" Then
Logs("Use Intel CPU Database", Logger.Info)
buffer = File.Load("Database/intel") 'Load the database to a temporary buffer
Finfosys.Label14.Text = Replace(Finfosys.Label14.Text, "Intel", "")
Else If Finfosys.Label14.Text Like "*Pentium*" Then
Logs("Use Intel CPU Database", Logger.Info)
buffer = File.Load("Database/intel") 'Load the database to a temporary buffer
Expand Down

0 comments on commit 4b92dc3

Please sign in to comment.