summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/tvc_hbf.c
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2012-12-09 15:07:19 +0000
committer Nathan Woods <npwoods@mess.org>2012-12-09 15:07:19 +0000
commit1c33ce61131b099ceca398273a6ef805a47f73c4 (patch)
tree6ce545b115268569cc82279928b9b744708d7415 /src/mess/machine/tvc_hbf.c
parent8823a66274840c7dc8124f40a176426d05215fb8 (diff)
MSVC compilation fixes (nw)
Diffstat (limited to 'src/mess/machine/tvc_hbf.c')
-rw-r--r--src/mess/machine/tvc_hbf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/machine/tvc_hbf.c b/src/mess/machine/tvc_hbf.c
index ccf2a3e0793..918567951c1 100644
--- a/src/mess/machine/tvc_hbf.c
+++ b/src/mess/machine/tvc_hbf.c
@@ -136,7 +136,7 @@ READ8_MEMBER(tvc_hbf_device::io_read)
case 0x00:
return m_fdc->read(space, offset & 3);
case 0x01:
- return (m_fdc->drq_r()<<7) | m_fdc->intrq_r();
+ return (m_fdc->drq_r()<<7) | (m_fdc->intrq_r() ? 0x01 : 0x00);
default:
return 0x00;
}