Remove unused and superfluous variables from mem.c.

This commit is contained in:
SarahW 2019-02-07 20:23:14 +00:00
commit 3c2dbf063e
16 changed files with 10 additions and 59 deletions

View file

@ -27,15 +27,10 @@ static void opti495_write(uint16_t addr, uint8_t val, void *p)
}
if (optireg == 0x22)
{
shadowbios = !(val & 0x80);
shadowbios_write = val & 0x80;
//pclog("shadowbios %i %02x\n", shadowbios, val);
if (shadowbios)
if (!(val & 0x80))
mem_set_mem_state(0xf0000, 0x10000, MEM_READ_INTERNAL | MEM_WRITE_DISABLED);
else
mem_set_mem_state(0xf0000, 0x10000, MEM_READ_EXTERNAL | MEM_WRITE_INTERNAL);
// if (shadowbios)
// fatal("Here\n");
}
}
break;