mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-04 02:30:53 +00:00
Fix [Bug #18723,#19070] Mouse movement for CopyII+9.1 and ProTERM3.1
This commit is contained in:
parent
aedbf93463
commit
2683b83bdb
@ -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
|
||||
|
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user