mirror of
https://github.com/lindbergh-loader/lindbergh-loader.git
synced 2026-09-22 22:48:03 +03:00
Update patch.c
typo
This commit is contained in:
@@ -853,9 +853,9 @@ int initPatch()
|
|||||||
detourFunction(0x0804be14, hod4VsPrintf);
|
detourFunction(0x0804be14, hod4VsPrintf);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getConfig()->cpuFreqMhz != 0.0f)
|
if (getConfig()->cpuFreqGhz != 0.0f)
|
||||||
{
|
{
|
||||||
uint32_t cpuFreq = (uint32_t)(getConfig()->cpuFreqMhz * 998000000.0);
|
uint32_t cpuFreq = (uint32_t)(getConfig()->cpuFreqGhz * 998000000.0);
|
||||||
setVariable(0x0828ea13, cpuFreq);
|
setVariable(0x0828ea13, cpuFreq);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -936,9 +936,9 @@ int initPatch()
|
|||||||
detourFunction(0x0804be04, hod4VsPrintf);
|
detourFunction(0x0804be04, hod4VsPrintf);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getConfig()->cpuFreqMhz != 0.0f)
|
if (getConfig()->cpuFreqGhz != 0.0f)
|
||||||
{
|
{
|
||||||
uint32_t cpuFreq = (uint32_t)(getConfig()->cpuFreqMhz * 998000000.0);
|
uint32_t cpuFreq = (uint32_t)(getConfig()->cpuFreqGhz * 998000000.0);
|
||||||
setVariable(0x08289353, cpuFreq);
|
setVariable(0x08289353, cpuFreq);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1001,9 +1001,9 @@ int initPatch()
|
|||||||
detourFunction(0x0804be04, hod4VsPrintf);
|
detourFunction(0x0804be04, hod4VsPrintf);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getConfig()->cpuFreqMhz != 0.0f)
|
if (getConfig()->cpuFreqGhz != 0.0f)
|
||||||
{
|
{
|
||||||
uint32_t cpuFreq = (uint32_t)(getConfig()->cpuFreqMhz * 998000000.0);
|
uint32_t cpuFreq = (uint32_t)(getConfig()->cpuFreqGhz * 998000000.0);
|
||||||
setVariable(0x08289353, cpuFreq);
|
setVariable(0x08289353, cpuFreq);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user