Removed a bunch of old #defines. Cleaned up some dead code.
This commit is contained in:
parent
6b82be0624
commit
1e45ba5f34
5 changed files with 17 additions and 24 deletions
|
|
@ -67,6 +67,8 @@ int cpu_use_dynarec;
|
|||
|
||||
uint64_t cpu_CR4_mask;
|
||||
|
||||
int is386;
|
||||
|
||||
uint64_t tsc = 0;
|
||||
|
||||
int timing_rr;
|
||||
|
|
@ -348,6 +350,7 @@ void cpu_set()
|
|||
CPUID = cpu_s->cpuid_model;
|
||||
cpuspeed = cpu_s->speed;
|
||||
is8086 = (cpu_s->cpu_type >= CPU_8088);
|
||||
is386 = (cpu_s->cpu_type >= CPU_386SX);
|
||||
is486 = (cpu_s->cpu_type >= CPU_i486SX) || (cpu_s->cpu_type == CPU_486SLC || cpu_s->cpu_type == CPU_486DLC);
|
||||
hasfpu = (cpu_s->cpu_type >= CPU_i486DX);
|
||||
cpu_iscyrix = (cpu_s->cpu_type == CPU_486SLC || cpu_s->cpu_type == CPU_486DLC || cpu_s->cpu_type == CPU_Cx486S || cpu_s->cpu_type == CPU_Cx486DX || cpu_s->cpu_type == CPU_Cx5x86);
|
||||
|
|
|
|||
Loading…
Reference in a new issue