diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2020-05-19 13:54:56 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2020-05-19 13:54:56 -0400 |
commit | bc97920cd5d8606f802f22f264d20da2242db593 (patch) | |
tree | f42a6221e549dc62be5b720d2a5f321de6d7da86 /src/devices/machine/upd765.cpp | |
parent | f321f5ab7987e29b071b8e11d2d280b25e407745 (diff) |
upd765: Fix another copy/paste mistake (nw)
Diffstat (limited to 'src/devices/machine/upd765.cpp')
-rw-r--r-- | src/devices/machine/upd765.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/upd765.cpp b/src/devices/machine/upd765.cpp index 5a0a420fe1f..6328ec74dab 100644 --- a/src/devices/machine/upd765.cpp +++ b/src/devices/machine/upd765.cpp @@ -3077,9 +3077,9 @@ wd37c65c_device::wd37c65c_device(const machine_config &mconfig, const char *tag, uint8_t wd37c65c_device::get_st3(floppy_info &fi) { uint8_t st3 = command[1] & 7; - result[0] |= 0x20; + st3 |= 0x20; if(fi.dev) - result[0] |= + st3 |= (fi.dev->wpt_r() ? 0x48 : 0x00) | (fi.dev->trk00_r() ? 0x00 : 0x10); return st3; |