Fix P4 and IA64 cpu detection
This commit is contained in:
parent
626d41cfff
commit
7345cbfdf2
@ -10,6 +10,9 @@ ______________________________________________________________________
|
||||
Notes for GoldED+ 1.1.5, /snapshot/
|
||||
______________________________________________________________________
|
||||
|
||||
|
||||
+ Fix P4 and IA64 cpu detection.
|
||||
|
||||
+ New reader key READfindnext (default: ^F6) added.
|
||||
READfindall and READfindheader will not search from next message,
|
||||
use READfindnext instead.
|
||||
|
@ -350,12 +350,26 @@ char* ggetosstring(void) {
|
||||
case PROCESSOR_INTEL_486:
|
||||
cpu = 4;
|
||||
break;
|
||||
default:
|
||||
case PROCESSOR_INTEL_PENTIUM:
|
||||
cpu = 5;
|
||||
case PROCESSOR_INTEL_IA64:
|
||||
cpu = 64;
|
||||
default:
|
||||
cpu = 6;
|
||||
break;
|
||||
}
|
||||
}
|
||||
sprintf(processor, "i%d86", cpu);
|
||||
switch(cpu) {
|
||||
case 15:
|
||||
sprintf(processor, "i786");
|
||||
break;
|
||||
case 64:
|
||||
sprintf(processor, "IA64");
|
||||
break;
|
||||
default:
|
||||
if( cpu>9 ) cpu= cpu%10+int(cpu/10)+1;
|
||||
sprintf(processor, "i%d86", cpu);
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user