BACKTRACK support: PCjs can now report which portions of which files are being read into memory
This commit is contained in:
parent
aaebc5856e
commit
197392bce9
5 changed files with 407 additions and 155 deletions
|
|
@ -2815,6 +2815,9 @@ ChipSet.prototype.advanceDMA = function(channel, fInit)
|
|||
*/
|
||||
chipset.bus.setByteDirect(addrCur, b);
|
||||
if (BACKTRACK) {
|
||||
if (!off && obj.file) {
|
||||
chipset.println('loading ' + obj.file.sPath + '[' + obj.offFile + '] @' + str.toHex(addrCur));
|
||||
}
|
||||
bto = chipset.bus.addBackTrackObject(obj, bto, off);
|
||||
chipset.bus.setBackTrackIndex(addrCur, bto, off);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue