mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 21:08:36 -07:00
Fix animation load fail, size too big
This commit is contained in:
@@ -336,7 +336,7 @@ static bool animation_storage_load_frames(
|
||||
FileInfo file_info;
|
||||
FuriString* filename;
|
||||
filename = furi_string_alloc();
|
||||
size_t max_filesize = ROUND_UP_TO(width, 8) * height + 1;
|
||||
size_t max_filesize = ROUND_UP_TO(width, 8) * height + 2;
|
||||
|
||||
for(int i = 0; i < icon->frame_count; ++i) {
|
||||
frames_ok = false;
|
||||
|
||||
Reference in New Issue
Block a user