mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-25 23:33:41 +01:00
Use ReadEntireFile() a few more places.
This fixes one or two minor memory leaks.
This commit is contained in:
1 parent
2d3f0758c1
commit
0636a65ad9
10 files changed
+105
-112
No files matched your search
+1
-1
@@ -571,7 +571,7 @@ void DrawDownloadsOverlay(UIContext &ctx) {
|
||||
|
||||
ctx.Begin();
|
||||
int h = 5;
|
||||
for (int i = 0; i < progress.size(); i++) {
|
||||
for (size_t i = 0; i < progress.size(); i++) {
|
||||
float barWidth = 10 + (dp_xres - 10) * progress[i];
|
||||
Bounds bounds(0, h * i, barWidth, h);
|
||||
UI::Drawable solid(colors[i & 3]);
|
||||
|
||||
Reference in new issue
Block a user