Fixed data population order

git-svn-id: http://svn.3splooges.com/romraider-arch/trunk@531 d2e2e1cd-ba16-0410-be16-b7c4453c7c2d
This commit is contained in:
Jared Gould 2007-02-19 19:39:21 +00:00
parent df59e1e7f7
commit 6a02d531e1
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ public final class ECUDataUtil {
// Build single datacell bytes // Build single datacell bytes
byte[] cellBytes = new byte[dataSize]; byte[] cellBytes = new byte[dataSize];
for (int i = 0; i < dataSize; i++) { for (int i = 0; i < dataSize; i++) {
cellBytes[i] = input[address + dataSize * x * y]; cellBytes[i] = input[address + dataSize * (x * metadata.getSizeY() + y)];
} }
// Get DataCell and add to array // Get DataCell and add to array