mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-25 20:56:53 +01:00
This commit is contained in:
parent
8c6dfb7ec6
commit
a2bb760f3d
@ -319,7 +319,7 @@ void GuiImage::SetGrayscale(void)
|
||||
}
|
||||
}
|
||||
|
||||
int len = w*h*4;
|
||||
int len = width*height*4;
|
||||
if(len%32) len += (32-len%32);
|
||||
DCFlushRange(image, len);
|
||||
}
|
||||
@ -412,7 +412,7 @@ void GuiImage::ColorStripe(int shift)
|
||||
}
|
||||
}
|
||||
|
||||
int len = w*h*4;
|
||||
int len = width*height*4;
|
||||
if(len%32) len += (32-len%32);
|
||||
DCFlushRange(image, len);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user