32x: drc: more bugfixing

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@865 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2010-01-23 20:54:28 +00:00
parent a2b8c5a545
commit 04092e329b
5 changed files with 139 additions and 76 deletions

View file

@ -1,4 +1,5 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
@ -112,7 +113,7 @@ int main(int argc, char *argv[])
}
if (packet1.header.cpuid != packet2.header.cpuid)
printf("%d: CPU %d %d\n", packet1.header.cpuid & 0xff, packet2.header.cpuid & 0xff);
printf("%d: CPU %d %d\n", cnt, packet1.header.cpuid & 0xff, packet2.header.cpuid & 0xff);
else if (*(int *)&packet1.header != *(int *)&packet2.header)
printf("%d: header\n", cnt);