446 |
|
PVR = 0x00040000; // Default: 604 |
447 |
|
CPUClockSpeed = 100000000; // Default: 100MHz |
448 |
|
BusClockSpeed = 100000000; // Default: 100MHz |
449 |
< |
#if !EMULATED_PPC |
449 |
> |
#if EMULATED_PPC |
450 |
> |
PVR = 0x000c0000; // Default: 7400 (with AltiVec) |
451 |
> |
#else |
452 |
|
proc_file = fopen("/proc/cpuinfo", "r"); |
453 |
|
if (proc_file) { |
454 |
|
char line[256]; |
484 |
|
else if (strcmp(value, "860") == 0) |
485 |
|
PVR = 0x00500000; |
486 |
|
else if (strcmp(value, "7400") == 0) |
487 |
< |
PVR = 0x80000000; |
487 |
> |
PVR = 0x000c0000; |
488 |
|
else if (strcmp(value, "7410") == 0) |
489 |
|
PVR = 0x800c0000; |
490 |
|
else |