diff options
author | Oliver Stöneberg <oliverst@online.de> | 2014-12-19 17:53:24 +0100 |
---|---|---|
committer | Oliver Stöneberg <oliverst@online.de> | 2014-12-19 17:53:24 +0100 |
commit | bb652cbfec5e86d97f45bf9ddb48337aa49c74ab (patch) | |
tree | 2355e174d43c7b7301e23a001e6e50bab6a05470 /src/mame/drivers/barata.c | |
parent | ee0573b629abb7fd834b71b45d09c7dda4d063bc (diff) |
fixed Visual Studio compilation and compilation in general / small r10788_device initialization cleanup (nw)
Diffstat (limited to 'src/mame/drivers/barata.c')
-rw-r--r-- | src/mame/drivers/barata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/barata.c b/src/mame/drivers/barata.c index e4249af0e92..4db4d4ab506 100644 --- a/src/mame/drivers/barata.c +++ b/src/mame/drivers/barata.c @@ -261,7 +261,7 @@ static void fpga_send(unsigned char cmd){ WRITE8_MEMBER(barata_state::fpga_w) { static unsigned char old_data = 0; - if (!BIT(old_data, 5) and BIT(data, 5)){ + if (!BIT(old_data, 5) && BIT(data, 5)){ //process the command sent to the FPGA fpga_send((data >> 2) & 7); } |