mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-08 13:31:00 +00:00
Fix #232: Mouse was still generating VBl IRQs after being removed.
This commit is contained in:
parent
8fac75322a
commit
970dd0044a
@ -195,6 +195,7 @@ void CMouseInterface::Reset()
|
||||
m_by6821B = 0x40; // Set PB6
|
||||
m_6821.SetPB(m_by6821B);
|
||||
m_bVBL = false;
|
||||
m_byMode = 0;
|
||||
|
||||
//
|
||||
|
||||
@ -474,6 +475,9 @@ void CMouseInterface::OnMouseEvent(bool bEventVBL)
|
||||
|
||||
void CMouseInterface::SetVBlank(bool bVBL)
|
||||
{
|
||||
if (!m_bActive)
|
||||
return;
|
||||
|
||||
if ( m_bVBL != bVBL )
|
||||
{
|
||||
m_bVBL = bVBL;
|
||||
|
Loading…
Reference in New Issue
Block a user