Skip to content

Commit

Permalink
Port GIF bug fix from TWiLight Menu++
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Oct 4, 2021
1 parent b8c4381 commit 23a188d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arm9/source/gif.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ bool Gif::load(const char *path, bool top, bool animate, bool forceDecompress) {
}
}

// Set default loop count to 0, uninitialized default is 0xFFFF so it's infinite
_loopCount = 0;

Frame frame;
while (1) {
switch (fgetc(file)) {
Expand Down

0 comments on commit 23a188d

Please sign in to comment.