Update datalatch.c

This commit is contained in:
retro-wertz
2017-04-15 19:46:27 +08:00
committed by GitHub
parent 9383c3ed4a
commit 8eb025656b

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();