summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-01-25 23:35:09 +0100
committerDaniel Friesel <derf@finalrewind.org>2016-01-25 23:35:09 +0100
commit0ed103d8a4e7b313ca699c9f448f69cc57cb4792 (patch)
tree2b9e6136835611bce13d15e8620667d1f21e81db
parentf4fe825650e1eb30ad57963232047606ac034e5c (diff)
storage.cc: The "file system" stores the page, not the byte offset
-rw-r--r--src/storage.cc2
1 files changed, 1 insertions, 1 deletions
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