Debugger: mini-view: fix for 'm1 AYsn'

This commit is contained in:
tomcw 2023-03-11 11:53:20 +00:00
parent 2f8ad98fc0
commit bf4eed6600

View File

@ -2024,8 +2024,8 @@ void DrawLine_AY8913_PAIR(RECT& rect, WORD& iAddress, const int nCols, int iFore
if (isMockingboardInSlot && iAddress <= 13)
{
BYTE data = MB.subUnit[subUnit].regsAY8913[0][iAddress];
DrawByte_AY8913(sText, iCol, iAddress, data, MB.subUnit[subUnit].nAYCurrentRegister[0]);
BYTE data = MB.subUnit[subUnit].regsAY8913[ay][iAddress];
DrawByte_AY8913(sText, iCol, iAddress, data, MB.subUnit[subUnit].nAYCurrentRegister[ay]);
}
else
{