aboutsummaryrefslogtreecommitdiff
path: root/common/file.cpp
diff options
context:
space:
mode:
authorMax Horn2003-05-21 17:29:51 +0000
committerMax Horn2003-05-21 17:29:51 +0000
commitffac2da5aa824fb67ffa48957a5aedae919bce92 (patch)
tree8b1978f05e8b46950a03231f3fef8c2b42ed628b /common/file.cpp
parent1a6d64675455fcadee61297cebcf6083c3a76b84 (diff)
downloadscummvm-rg350-ffac2da5aa824fb67ffa48957a5aedae919bce92.tar.gz
scummvm-rg350-ffac2da5aa824fb67ffa48957a5aedae919bce92.tar.bz2
scummvm-rg350-ffac2da5aa824fb67ffa48957a5aedae919bce92.zip
added fixme comment
svn-id: r7791
Diffstat (limited to 'common/file.cpp')
-rw-r--r--common/file.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/file.cpp b/common/file.cpp
index 7168c74f82..788b2b57cb 100644
--- a/common/file.cpp
+++ b/common/file.cpp
@@ -273,6 +273,9 @@ uint32 File::write(void *ptr, uint32 len) {
return 0;
if (_encbyte != 0) {
+ // Maybe FIXME: while it's efficient to do the encoding here,
+ // it not really nice for a write function to modify its input.
+ // Maybe we should work on a copy here...
uint32 t_size = len;
do {
*ptr2++ ^= _encbyte;