summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2021-02-14 12:34:38 +0100
committer Olivier Galibert <galibert@pobox.com>2021-02-14 12:34:56 +0100
commit23b329820407e0018d48169a2bb397040aee4939 (patch)
tree8fd6c9d316141c40d8ebb0757fef214e6d94e7d9
parent02d6b1e457175f857eae62afe4758897c07ce0e0 (diff)
floppy: ignore set_write_splice when the motor is not running
-rw-r--r--src/devices/imagedev/floppy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/imagedev/floppy.cpp b/src/devices/imagedev/floppy.cpp
index 07de93a523a..9de64c1dd4a 100644
--- a/src/devices/imagedev/floppy.cpp
+++ b/src/devices/imagedev/floppy.cpp
@@ -1132,7 +1132,7 @@ void floppy_image_device::write_zone(uint32_t *buf, int &cells, int &index, uint
void floppy_image_device::set_write_splice(const attotime &when)
{
- if(image) {
+ if(image && !mon) {
image_dirty = true;
attotime base;
int splice_pos = find_position(base, when);