rename ItemForShip to DataForShip for consistency
[fleet.git] / ships / Memory.ship
index bdb2e93..dc266c6 100644 (file)
@@ -58,7 +58,7 @@ data  out:   out
             long size = val & 0x3f;
             dispatch((int)addr, (int)size);
         }
-        if (box_inAddr.dataReadyForShip() && box_out.readyForItemFromShip()) {
+        if (box_inAddr.dataReadyForShip() && box_out.readyForDataFromShip()) {
             Packet packet = box_inAddr.peekPacketForShip();
             if (packet.destination.getDestinationName().equals("read")) {
                 box_out.addDataFromShip(readMem((int)box_inAddr.removeDataForShip()));