mirror of
https://github.com/simh/simh.git
synced 2026-04-26 12:07:16 +00:00
SCP: Avoid writing out memory buffered devices on detach that haven't changed
As discussed in #1109
This commit is contained in:
@@ -585,6 +585,7 @@ struct UNIT {
|
||||
uint32 dynflags; /* dynamic flags */
|
||||
t_addr capac; /* capacity */
|
||||
t_addr pos; /* file position */
|
||||
void *filebuf2; /* copy of initial memory buffer */
|
||||
void (*io_flush)(UNIT *up); /* io flush routine */
|
||||
uint32 iostarttime; /* I/O start time */
|
||||
int32 buf; /* buffer */
|
||||
|
||||
Reference in New Issue
Block a user