From 170d7975e4e78d0926dec025e8cef6066585e110 Mon Sep 17 00:00:00 2001 From: "fix94.1" Date: Fri, 27 Jul 2012 20:02:07 +0000 Subject: [PATCH] -cover cache fine tuning :P --- source/gui/coverflow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/gui/coverflow.cpp b/source/gui/coverflow.cpp index c6618634..1baa2093 100644 --- a/source/gui/coverflow.cpp +++ b/source/gui/coverflow.cpp @@ -2760,7 +2760,7 @@ int CCoverFlow::_coverLoader(CCoverFlow *cf) bool update; u32 i; - u32 bufferSize = min(cf->m_numBufCovers * cf->m_rows, 80u); + u32 bufferSize = min(cf->m_numBufCovers * max(2u, cf->m_rows), 80u); while(cf->m_loadingCovers) {