mirror of
https://github.com/holub/mame
synced 2025-07-01 08:18:59 +03:00
floppy.h: Don't change sides if the drive has only one head. (nw)
This commit is contained in:
parent
9620f3741c
commit
6fd8297639
@ -131,7 +131,7 @@ public:
|
|||||||
void seek_phase_w(int phases);
|
void seek_phase_w(int phases);
|
||||||
void stp_w(int state);
|
void stp_w(int state);
|
||||||
void dir_w(int state) { dir = state; }
|
void dir_w(int state) { dir = state; }
|
||||||
void ss_w(int state) { ss = state; }
|
void ss_w(int state) { if (sides > 1) ss = state; }
|
||||||
void inuse_w(int state) { }
|
void inuse_w(int state) { }
|
||||||
void dskchg_w(int state) { if (dskchg_writable) dskchg = state; }
|
void dskchg_w(int state) { if (dskchg_writable) dskchg = state; }
|
||||||
void ds_w(int state) { ds = state; check_led(); }
|
void ds_w(int state) { ds = state; check_led(); }
|
||||||
|
Loading…
Reference in New Issue
Block a user