mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
Fixed compile error on platforms where ENABLE_CPUFREQ is defined
This commit is contained in:
@@ -329,7 +329,7 @@ void GMenu2X::initBG() {
|
|||||||
{
|
{
|
||||||
auto cpu = OffscreenSurface::loadImage(
|
auto cpu = OffscreenSurface::loadImage(
|
||||||
sc.getSkinFilePath("imgs/cpu.png"));
|
sc.getSkinFilePath("imgs/cpu.png"));
|
||||||
if (cpu) cpu->blit(bgmain, cpuX, bottomBarIconY);
|
if (cpu) cpu->blit(*bgmain, cpuX, bottomBarIconY);
|
||||||
}
|
}
|
||||||
cpuX += 19;
|
cpuX += 19;
|
||||||
manualX = cpuX + font->getTextWidth("300MHz") + 5;
|
manualX = cpuX + font->getTextWidth("300MHz") + 5;
|
||||||
|
|||||||
Reference in New Issue
Block a user