projects
/
fleet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0c9296
)
fixed bug; dont check memory range if were going to expand
author
adam
<adam@megacz.com>
Mon, 4 Dec 2006 04:13:09 +0000
(
05:13
+0100)
committer
adam
<adam@megacz.com>
Mon, 4 Dec 2006 04:13:09 +0000
(
05:13
+0100)
src/edu/berkeley/fleet/ships/MemoryWriteShip.java
patch
|
blob
|
history
diff --git
a/src/edu/berkeley/fleet/ships/MemoryWriteShip.java
b/src/edu/berkeley/fleet/ships/MemoryWriteShip.java
index
4d3edf0
..
6541638
100644
(file)
--- a/
src/edu/berkeley/fleet/ships/MemoryWriteShip.java
+++ b/
src/edu/berkeley/fleet/ships/MemoryWriteShip.java
@@
-26,8
+26,7
@@
public class MemoryWriteShip extends Ship {
public void service() {
if (_count > 0) {
if (!data.dataReadyForShip()) return;
- if (_addr<=getFleet().mem.length)
- getFleet().writeMem(_addr, data.removeDataForShip());
+ getFleet().writeMem(_addr, data.removeDataForShip());
_count--;
_addr += _stride;
if (_count==0)