summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-10-03 11:38:09 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-10-03 11:38:09 +0200
commitcd213cfffe6d4492302808e69f508ccf6259d453 (patch)
tree13b4b37029d053b1a4a5bae8c547a971b8e0df98
parentb6877457bfc72fc3a4345157535dc6e499494128 (diff)
ft: change nonsensical frame step
-rw-r--r--clientfiles/very-important-source-code/npclient.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/clientfiles/very-important-source-code/npclient.c b/clientfiles/very-important-source-code/npclient.c
index 5e403ede..3878f809 100644
--- a/clientfiles/very-important-source-code/npclient.c
+++ b/clientfiles/very-important-source-code/npclient.c
@@ -302,10 +302,11 @@ NP_EXPORT(int) NP_GetData(tir_data_t * data)
dbg_report("NP_GetData: Table = %02d %02d %02d %02d %02d %02d %02d %02d\n", table[0],table[1],table[2],table[3],table[4],table[5], table[6], table[7]);
bEncryptionChecked = pMemData->GameId2 == pMemData->GameId;
}
+
ReleaseMutex(hFTMutex);
}
- data->frame = frameno += 10;
+ data->frame = frameno += 1;
data->status = 0;
data->cksum = 0;
@@ -330,6 +331,7 @@ NP_EXPORT(int) NP_GetData(tir_data_t * data)
if(bEncryption) {
enhance((unsigned char*)data, sizeof(tir_data_t), table, sizeof(table));
}
+
return 0;
}
/******************************************************************