Tidy up some Memory-related interfaces
This commit is contained in:
parent
16a4df5a61
commit
a061c16392
3 changed files with 48 additions and 47 deletions
|
|
@ -551,7 +551,7 @@ Bus.prototype.setMemoryAccess = function(addr, size, afn)
|
|||
if (!block.controller) {
|
||||
return this.reportError(5, addr, size);
|
||||
}
|
||||
block.setAccess(afn);
|
||||
block.setAccess(afn, true);
|
||||
size -= this.nBlockSize;
|
||||
iBlock++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue