Fixed bug in SCAT A20 handling. Patch from Greatpsycho.
This commit is contained in:
parent
9329a997cc
commit
1fe6233d4c
1 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ void scat_shadow_state_update()
|
|||
}
|
||||
else
|
||||
{
|
||||
if ((scat_regs[0x49] >> ((i - 8) >> 1)) & 1)
|
||||
if ((scat_regs[SCAT_RAM_WRITE_PROTECT] >> ((i - 8) >> 1)) & 1)
|
||||
{
|
||||
val |= MEM_WRITE_DISABLED;
|
||||
}
|
||||
|
|
@ -200,7 +200,7 @@ void scat_write(uint16_t port, uint8_t val, void *priv)
|
|||
break;
|
||||
|
||||
case 0x92:
|
||||
if ((mem_a20_key ^ val) & 2)
|
||||
if ((mem_a20_alt ^ val) & 2)
|
||||
{
|
||||
mem_a20_alt = val & 2;
|
||||
mem_a20_recalc();
|
||||
|
|
|
|||
Loading…
Reference in a new issue