From c8ea974f5113b560a5f52297e994450e033fa8f3 Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Fri, 15 Aug 2014 01:41:20 +0200 Subject: [PATCH] Fixed compile error on platforms where ENABLE_CPUFREQ is defined --- src/gmenu2x.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gmenu2x.cpp b/src/gmenu2x.cpp index cca0d09..9c9c7da 100644 --- a/src/gmenu2x.cpp +++ b/src/gmenu2x.cpp @@ -329,7 +329,7 @@ void GMenu2X::initBG() { { auto cpu = OffscreenSurface::loadImage( sc.getSkinFilePath("imgs/cpu.png")); - if (cpu) cpu->blit(bgmain, cpuX, bottomBarIconY); + if (cpu) cpu->blit(*bgmain, cpuX, bottomBarIconY); } cpuX += 19; manualX = cpuX + font->getTextWidth("300MHz") + 5;