sysclk: RETRO super timings till 60hz, improve support

This commit is contained in:
souldbminersmwc
2026-03-20 20:57:41 -04:00
parent 71f31e8f6a
commit 1a42ad1a67
9 changed files with 52 additions and 17 deletions

View File

@@ -120,6 +120,7 @@ static const u32 gpuDvfsArray[] = { 590, 600, 610, 620, 630, 640, 650, 660, 670,
u32 dvfsTable[6][32] = {};
u64 dvfsAddress;
u32 ramVmin;
bool isRetro = false;
const char* Board::GetModuleName(SysClkModule module, bool pretty)
{
@@ -282,7 +283,7 @@ void Board::Initialize()
}
struct stat st = {0};
bool isRetro = stat("sdmc:/" FILE_CONFIG_DIR "/retro.flag", &st) == 0;
isRetro = (stat("sdmc:/" FILE_CONFIG_DIR "/retro.flag", &st) == 0);
u64 clkVirtAddr, dsiVirtAddr, outsize;
rc = svcQueryMemoryMapping(&clkVirtAddr, &outsize, 0x60006000, 0x1000);
@@ -309,6 +310,10 @@ void Board::Initialize()
}
bool Board::IsUsingRetroSuperDisplay() {
return isRetro;
}
void Board::fuseReadSpeedos() {
u64 pid = 0;