CryptoEngine: fix CBC size passed to hleUtilsBufferCopyWithRange

This commit is contained in:
codestation 2011-07-23 02:27:11 -04:30
parent 2d0e8a3188
commit 29925a5ce9

View file

@ -1943,9 +1943,9 @@ public class CryptoEngine {
buf[15] = (byte) seed;
// Set the the data size to size.
buf[16] = 0;
buf[17] = 0;
buf[18] = 0;
buf[16] = (byte) (size >> 24);
buf[17] = (byte) (size >> 16);
buf[18] = (byte) (size >> 8);
buf[19] = (byte) (size);
ByteBuffer bBuf = ByteBuffer.wrap(buf);