]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Previous update fix.
authorToni Wilen <twilen@winuae.net>
Sat, 22 Jul 2017 19:37:34 +0000 (22:37 +0300)
committerToni Wilen <twilen@winuae.net>
Sat, 22 Jul 2017 19:37:34 +0000 (22:37 +0300)
a2091.cpp

index af5371e90d8b0d00b3305d620ca58f412debd308..60c57d721819557c3dfc654f8500368afdffce40 100644 (file)
--- a/a2091.cpp
+++ b/a2091.cpp
@@ -3756,7 +3756,7 @@ static void wd_execute_cmd(struct wd_state *wds, int cmd, int msg, int unit)
        if (msg == 0) {
                if (WD33C93_DEBUG > 0)
                        write_log (_T("%s command %02X\n"), WD33C93, cmd);
-               switch (cmd)
+               switch (cmd & 0x7f)
                {
                case WD_CMD_RESET:
                        wd_cmd_reset(wd, true);