Fixed AY Audio failure in last commit

This commit is contained in:
2026-05-08 16:35:04 +01:00
parent 5c5581ba44
commit 3dcc4b3c42

View File

@@ -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);
}
}
}
}