Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Nov 18, 2024
1 parent 273e257 commit 22b6244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion retail/arm9/source/conf_sd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ static int loadCardEngineBinary(const char* cardenginePath, u8* location, bool c
fseek(cebin, 0, SEEK_SET);
if(compressed) {
if(size <= sizeof_lz77ImageBuffer) {
toncset32(lz77ImageBuffer, 0, sizeof_lz77ImageBuffer);
toncset32(lz77ImageBuffer, 0, sizeof_lz77ImageBuffer/sizeof(u32));
fread(lz77ImageBuffer, 1, size, cebin);
LZ77_Decompress(lz77ImageBuffer, location);
}
Expand Down

0 comments on commit 22b6244

Please sign in to comment.