mirror of https://github.com/rusefi/RomRaider.git
Fixed CEL fix inheritance not working properly
git-svn-id: http://svn.3splooges.com/romraider-arch/trunk@320 d2e2e1cd-ba16-0410-be16-b7c4453c7c2d
This commit is contained in:
parent
686b3490f3
commit
b232f65861
|
@ -21,9 +21,11 @@ public class TableSwitch extends Table {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setDataSize(int size) {
|
public void setDataSize(int size) {
|
||||||
|
if (on.length == 0) {
|
||||||
on = new byte[size];
|
on = new byte[size];
|
||||||
off = new byte[size];
|
off = new byte[size];
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void populateTable(byte[] input) {
|
public void populateTable(byte[] input) {
|
||||||
for (int i = 0; i < on.length; i++) {
|
for (int i = 0; i < on.length; i++) {
|
||||||
|
|
Loading…
Reference in New Issue