Change order of syncchange invoking

This commit is contained in:
Travis Nickles 2017-05-26 19:03:35 -07:00
parent c781082425
commit de8f1ae354

View File

@ -803,8 +803,8 @@ namespace DS4Windows
bool controllerSynced = inputReport[31] == 0; bool controllerSynced = inputReport[31] == 0;
if (controllerSynced != synced) if (controllerSynced != synced)
{ {
SyncChange?.Invoke(this, EventArgs.Empty);
synced = controllerSynced; synced = controllerSynced;
SyncChange?.Invoke(this, EventArgs.Empty);
} }
} }