19 lines
656 B
C++
19 lines
656 B
C++
void setCPU(){};
|
|
|
|
|
|
void setCPU(std::string mmodel, float mmainclock, float mboostclock) {
|
|
A7800x3d.mainclock = mmainclock;
|
|
A7800x3d.boostclock = mboostclock;
|
|
// model.boostclock = boostclock; // This doesnt work because its not a vaild reference!
|
|
// Trying to use the local model var to call the global CPU class for that specific model
|
|
cout << "Coming from the setCPU function in setcpu.h" << endl;
|
|
cout << "\n\n\n" << mmodel << ".mainclock\n\n" << endl;
|
|
cout << "\n\n" << i75820k.boostclock << "\n\n" << endl;
|
|
cout << "Leaving setCPU()\n\n";
|
|
}
|
|
|
|
|
|
//void setCPU(CPU *mA7800x3d, double mmainclock) {
|
|
//mA7800x3d->mainclock = mmainclock;
|
|
//}
|