diff --git a/source/ngc/gui/gui_image.cpp b/source/ngc/gui/gui_image.cpp index b1b5fb9..17ab67d 100644 --- a/source/ngc/gui/gui_image.cpp +++ b/source/ngc/gui/gui_image.cpp @@ -58,7 +58,8 @@ GuiImage::GuiImage(int w, int h, GXColor c) } } int len = w*h*4; - DCFlushRange(image, len+len%32); + if(len%32) len += (32-len%32); + DCFlushRange(image, len); } /**