missed commit: update for USB cleanup
This commit is contained in:
@@ -84,8 +84,8 @@ void InputHandler_Win32_Para::InputThreadMain()
|
|||||||
LOG->Warn(werr_ssprintf(GetLastError(), "Failed to set Para thread priority"));
|
LOG->Warn(werr_ssprintf(GetLastError(), "Failed to set Para thread priority"));
|
||||||
|
|
||||||
vector<WindowsFileIO *> sources;
|
vector<WindowsFileIO *> sources;
|
||||||
if( dev->io.IsOpen() )
|
if( dev->m_IO.IsOpen() )
|
||||||
sources.push_back( &dev->io );
|
sources.push_back( &dev->m_IO );
|
||||||
|
|
||||||
while(!shutdown)
|
while(!shutdown)
|
||||||
{
|
{
|
||||||
@@ -118,7 +118,6 @@ void InputHandler_Win32_Para::Update(float fDeltaTime)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* (c) 2003-2004 Glenn Maynard
|
|
||||||
* (c) 2002-2004 Chris Danford, Glenn Maynard
|
* (c) 2002-2004 Chris Danford, Glenn Maynard
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -96,8 +96,8 @@ void InputHandler_Win32_Pump::InputThreadMain()
|
|||||||
vector<WindowsFileIO *> apSources;
|
vector<WindowsFileIO *> apSources;
|
||||||
for( int i = 0; i < NUM_PUMPS; ++i )
|
for( int i = 0; i < NUM_PUMPS; ++i )
|
||||||
{
|
{
|
||||||
if( m_pDevice[i].io.IsOpen() )
|
if( m_pDevice[i].m_IO.IsOpen() )
|
||||||
apSources.push_back( &m_pDevice[i].io );
|
apSources.push_back( &m_pDevice[i].m_IO );
|
||||||
}
|
}
|
||||||
|
|
||||||
while( !m_bShutdown )
|
while( !m_bShutdown )
|
||||||
|
|||||||
Reference in New Issue
Block a user