Fixed AY Audio failure in last commit
This commit is contained in:
@@ -97,16 +97,16 @@ namespace Core.Io
|
||||
//{
|
||||
// _memory.HandlePaging(0x1FFD, portValue);
|
||||
//}
|
||||
//// AY-3-8912 Register Select (Port 0xFFFD)
|
||||
//if ((portAddress & 0xC002) == 0xC000)
|
||||
//{
|
||||
// AyChip.SelectRegister(portValue);
|
||||
//}
|
||||
//// AY-3-8912 Data Write (Port 0xBFFD)
|
||||
//else if ((portAddress & 0xC002) == 0x8000)
|
||||
//{
|
||||
// AyChip.WriteRegister(portValue);
|
||||
//}
|
||||
// AY-3-8912 Register Select (Port 0xFFFD)
|
||||
if ((portAddress & 0xC002) == 0xC000)
|
||||
{
|
||||
AyChip.SelectRegister(portValue);
|
||||
}
|
||||
// AY-3-8912 Data Write (Port 0xBFFD)
|
||||
else if ((portAddress & 0xC002) == 0x8000)
|
||||
{
|
||||
AyChip.WriteRegister(portValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user