Fix [Bug #18723,#19070] Mouse movement for CopyII+9.1 and ProTERM3.1

This commit is contained in:
tomch 2013-08-09 22:04:02 +00:00
parent aedbf93463
commit 2683b83bdb
2 changed files with 5 additions and 0 deletions

View File

@ -19,6 +19,7 @@ Changes:
Fixes:
. Fixed save-state bug for when 4K BANK1 is dirty (previously it would save the stale data instead).
. [Bug #18723,#19070] Mouse movement for CopyII+9.1 and ProTERM3.1.
1.23.0 - 26 Apr 2013

View File

@ -443,7 +443,11 @@ void CMouseInterface::OnMouseEvent(bool bEventVBL)
BOOL bBtn0 = m_bButtons[0];
BOOL bBtn1 = m_bButtons[1];
if ( m_nX != m_iX || m_nY != m_iY )
{
byState |= STAT_INT_MOVEMENT|STAT_MOVEMENT_SINCE_READMOUSE; // X/Y moved since last READMOUSE | Movement interrupt
m_byState |= STAT_MOVEMENT_SINCE_READMOUSE; // [TC] Used by CopyII+9.1 and ProTERM3.1
}
if ( m_bBtn0 != bBtn0 || m_bBtn1 != bBtn1 )
byState |= STAT_INT_BUTTON; // Button 0/1 interrupt
if ( bEventVBL )