From 69ecdd3236e1aafe125ffdfebcae017a8005928b Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 14 Jul 2014 20:49:03 -0400 Subject: [PATCH] DEV9ghzdrk: Clarify precedence for a bitwise and in smap. --- plugins/dev9ghzdrk/Win32/smap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dev9ghzdrk/Win32/smap.cpp b/plugins/dev9ghzdrk/Win32/smap.cpp index 0d9bfe11d4..4120737e3e 100644 --- a/plugins/dev9ghzdrk/Win32/smap.cpp +++ b/plugins/dev9ghzdrk/Win32/smap.cpp @@ -252,7 +252,7 @@ void emac3_write(u32 addr) DEV9_LOG("SMAP: SMAP_R_EMAC3_TxMODE0_L write %x\n", value); //spams// emu_printf("SMAP: SMAP_R_EMAC3_TxMODE0_L write %x\n", value); //Process TX here ? - if (!value&SMAP_E3_TX_GNP_0) + if (!(value & SMAP_E3_TX_GNP_0)) emu_printf("SMAP_R_EMAC3_TxMODE0_L: SMAP_E3_TX_GNP_0 not set\n"); tx_process();