Fix warped read code

This commit is contained in:
TheLastRar 2015-01-27 15:16:06 +00:00
parent 2da3e15aaa
commit 80b24f8055
1 changed files with 1 additions and 1 deletions

View File

@ -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