Skip to content

Commit 897cdc4

Browse files
Fix decompression test
1 parent b76c488 commit 897cdc4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • test/graphx/background_lz4/src

test/graphx/background_lz4/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ int main(void)
1616

1717
gfx_ZeroScreen();
1818

19-
if (lz4_Decompress_Block(gfx_vram, background_compressed + sizeof(uint24_t), background_compressed_size) != background_size)
19+
if (lz4_Decompress_Block(gfx_vram, background_compressed + sizeof(uint24_t), background_compressed_size - sizeof(uint24_t)) != background_size)
2020
{
2121
gfx_ZeroScreen();
2222
}

0 commit comments

Comments
 (0)