From 80b24f80555d21bbf31d6a78a016898a9e3f798e Mon Sep 17 00:00:00 2001 From: TheLastRar Date: Tue, 27 Jan 2015 15:16:06 +0000 Subject: [PATCH] Fix warped read code --- plugins/dev9ghzdrk/Win32/smap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dev9ghzdrk/Win32/smap.cpp b/plugins/dev9ghzdrk/Win32/smap.cpp index 3b2e020269..ee2377a6fa 100644 --- a/plugins/dev9ghzdrk/Win32/smap.cpp +++ b/plugins/dev9ghzdrk/Win32/smap.cpp @@ -204,7 +204,7 @@ void tx_process() { u32 was=16384-base; memcpy(pk.buffer,dev9.txfifo+base,was); - memcpy(pk.buffer,dev9.txfifo,pbd->length-was); + memcpy(pk.buffer+was,dev9.txfifo,pbd->length-was); printf("Warped read, was=%u, sz=%u, sz-was=%u\n", was, pbd->length, pbd->length-was); } else