From cd213cfffe6d4492302808e69f508ccf6259d453 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 3 Oct 2015 11:38:09 +0200 Subject: ft: change nonsensical frame step --- clientfiles/very-important-source-code/npclient.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'clientfiles') 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; } /****************************************************************** -- cgit v1.2.3