mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
stop nibble stream when drive off
This commit is contained in:
parent
ab3e97e8d1
commit
ecef3010fd
@ -435,7 +435,7 @@ export default class DiskII implements Card {
|
|||||||
if (!isNibbleDrive(this.cur)) {
|
if (!isNibbleDrive(this.cur)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this.skip || this.writeMode) {
|
if (this.on && (this.skip || this.writeMode)) {
|
||||||
const track = this.cur.tracks![this.cur.track >> 2];
|
const track = this.cur.tracks![this.cur.track >> 2];
|
||||||
if (track && track.length) {
|
if (track && track.length) {
|
||||||
if (this.cur.head >= track.length) {
|
if (this.cur.head >= track.length) {
|
||||||
|
Loading…
Reference in New Issue
Block a user