datalatch.cpp restoring logical AND bus conflict behaviour (cag4e3 broke it in r2997 for some "highway star" hack, but when reverted in r3023 forgot to restore the bus conflict code).

This commit is contained in:
rainwarrior 2015-09-03 17:02:45 +00:00
parent 884032d42e
commit 276d5ed556
1 changed files with 499 additions and 499 deletions

View File

@ -30,7 +30,7 @@ static void (*WSync)(void);
static DECLFW(LatchWrite) {
// FCEU_printf("bs %04x %02x\n",A,V);
if (bus_conflict)
latche = (V == CartBR(A)) ? V : 0;
latche = V & CartBR(A);
else
latche = V;
WSync();