MCPcopy Create free account
hub / github.com/dborth/fceugx / GetCPUSpeed

Function GetCPUSpeed

source/system.cpp:342–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342static const char* GetCPUSpeed(ConsoleType type) {
343#ifdef HW_DOL
344 return "486 MHz"; // GameCube "Gekko" CPU
345#else
346 switch(type) {
347 case CONSOLE_WII:
348 case CONSOLE_WIIU_VWII:
349 return "729 MHz"; // Wii "Broadway" CPU (vWii mode is throttled to this by default)
350
351 case CONSOLE_WIIU_WIIVC:
352 if (IsWiiUFastCPU()) {
353 return "1.24 GHz"; // Wii U "Espresso" CPU speed (1.24 GHz)
354 }
355 return "729 MHz"; // Fallback if VC launcher throttled it
356
357 default:
358 return "729 MHz";
359 }
360#endif
361}
362
363char * getConsoleDetails() {
364 static char description[40];

Callers 1

getConsoleDetailsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected