mirror of
https://github.com/holub/mame
synced 2025-06-30 07:58:56 +03:00
disabled assignment of variable to itself in src/mame/machine/pgmprot6.c reported by clang (nw)
This commit is contained in:
parent
8098ca75ce
commit
1243c9a3dc
@ -211,7 +211,7 @@ void pgm_028_025_state::IGS028_do_dma(UINT16 src, UINT16 dst, UINT16 size, UINT1
|
||||
if (mode==0) dat2 = 0x4e75; // hack
|
||||
if (mode==1) dat2 = ((dat2 & 0xf000) >> 12) | ((dat2 & 0x0f00) >> 4) | ((dat2 & 0x00f0) << 4) | ((dat2 & 0x000f) << 12);
|
||||
if (mode==2) dat2 ^= extraxor;
|
||||
if (mode==5) dat2 = dat2;
|
||||
//if (mode==5) dat2 = dat2;
|
||||
if (mode==6) dat2 += extraxor;
|
||||
|
||||
if (mode==2 || mode==6) dat2 = (dat2<<8)|(dat2>>8);
|
||||
|
Loading…
Reference in New Issue
Block a user