mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Ref T275, count simconnectProc calls and how often it was doing nothing
This commit is contained in:
@@ -40,6 +40,7 @@ namespace BlackSimPlugin
|
||||
CSimulatorFsxCommon *simulatorFsxP3D = static_cast<CSimulatorFsxCommon *>(pContext);
|
||||
const SIMCONNECT_RECV_ID recvId = static_cast<SIMCONNECT_RECV_ID>(pData->dwID);
|
||||
simulatorFsxP3D->m_dispatchLastReceiveId = recvId;
|
||||
simulatorFsxP3D->m_dispatchProcCount++;
|
||||
switch (recvId)
|
||||
{
|
||||
case SIMCONNECT_RECV_ID_OPEN:
|
||||
@@ -355,6 +356,7 @@ namespace BlackSimPlugin
|
||||
break; // SIMCONNECT_RECV_ID_EVENT_FILENAME
|
||||
}
|
||||
default:
|
||||
simulatorFsxP3D->m_dispatchProcEmpty++;
|
||||
break;
|
||||
} // main switch
|
||||
|
||||
|
||||
Reference in New Issue
Block a user