summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Shaw <jshaw@netsurf-browser.org>2007-11-26 17:06:36 (GMT)
committer James Shaw <jshaw@netsurf-browser.org>2007-11-26 17:06:36 (GMT)
commit8bc9fe4114622ca16f171b094098810f5eb61bb0 (patch)
tree828d697a3aaa1d617c8d9f1460efa1f477b4bb78
parentf7515f54f162ef61c26fd375febbef25b273b472 (diff)
downloadlibrosprite-8bc9fe4114622ca16f171b094098810f5eb61bb0.tar.gz
librosprite-8bc9fe4114622ca16f171b094098810f5eb61bb0.tar.bz2
Add PRM reference
svn path=/import/jshaw/libsprite/; revision=9992
-rw-r--r--trunk/libsprite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/libsprite.c b/trunk/libsprite.c
index a35b3d5..ae653c9 100644
--- a/trunk/libsprite.c
+++ b/trunk/libsprite.c
@@ -443,7 +443,7 @@ struct sprite* sprite_load_sprite(FILE* spritefile)
uint32_t word2 = sprite_read_word(spritefile);
assert(word1 == word2); /* TODO: if they aren't, START FLASHING */
- /* swap rr and bb parts (seems to give the right result, but where is it documented? */
+ /* swap rr and bb parts (seems to give the right result, but where is it documented? PRM1-731 */
uint32_t entry = ((word1 & 0xff000000) >> 16) | (word1 & 0x00ff0000) | ((word1 & 0x0000ff00) << 16);
sprite->palette[j] = entry;
}