diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-09 17:41:39 +0100 | 
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-09 17:41:39 +0100 | 
| commit | 832d631060a889deb2ff4232209025a14f2f07a8 (patch) | |
| tree | 8a8b0d1fa89ba39bac8c9ee685a5c229ac184a1a | |
| parent | 55a4dea311eabe5a4a7d1e97352d854898512ef2 (diff) | |
contrib/npclient: fix race
| -rw-r--r-- | contrib/very-important-source-code/npclient.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/contrib/very-important-source-code/npclient.c b/contrib/very-important-source-code/npclient.c index d635069c..b991dc35 100644 --- a/contrib/very-important-source-code/npclient.c +++ b/contrib/very-important-source-code/npclient.c @@ -295,7 +295,8 @@ NP_EXPORT(int) NP_GetData(tir_data_t * data)          ty = pMemData->data.Y;          tz = pMemData->data.Z; -        if (!bEncryptionChecked) { +        if (pMemData->GameId == pMemData->GameId2 && !bEncryptionChecked) +        {              dbg_report("NP_GetData: game = %d\n", pMemData->GameId);              memcpy(table, pMemData->table, 8);              for (i = 0; i < 8; i++) | 
