From 0ed103d8a4e7b313ca699c9f448f69cc57cb4792 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 25 Jan 2016 23:35:09 +0100 Subject: storage.cc: The "file system" stores the page, not the byte offset --- src/storage.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/storage.cc b/src/storage.cc index f755e0b..6c8984a 100644 --- a/src/storage.cc +++ b/src/storage.cc @@ -12,7 +12,7 @@ Storage storage; * * Organized as 64B-pages, all animations/texts are page-aligned. Byte 0 .. * 255 : storage metadata. Byte 0 contains the number of animations, byte 1 the - * byte offset of the first animation, byte 2 of the second, and so on. + * page offset of the first animation, byte 2 of the second, and so on. * Byte 256+: texts/animations without additional storage metadata, aligned * to 64B. So, a maximum of 256-(256/64) = 252 texts/animations can be stored, * and a maximum of 255 * 64 = 16320 Bytes (almost 16 kB / 128 kbit) can be -- cgit v1.2.3