mirror of https://github.com/rusefi/RomRaider.git
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:
parent
df59e1e7f7
commit
6a02d531e1
|
@ -79,7 +79,7 @@ public final class ECUDataUtil {
|
|||
// Build single datacell bytes
|
||||
byte[] cellBytes = new byte[dataSize];
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue