X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2Fdebug_net.c;h=7fd540b935e64f4d9b0d6263e9de8300f9bfa594;hb=9db6a54485501b56b0f2f5db4d093c38fe495bda;hp=59213541a123954f5fdf188c609ed80f53b3b36b;hpb=a2b8c5a54568093b247ced39f0754cbb30324830;p=picodrive.git diff --git a/cpu/debug_net.c b/cpu/debug_net.c index 5921354..7fd540b 100644 --- a/cpu/debug_net.c +++ b/cpu/debug_net.c @@ -1,4 +1,12 @@ +/* + * PDB, the PicoDrive debugger + * (C) notaz, 2010 + * + * This work is licensed under the terms of MAME license. + * See COPYING file in the top-level directory. + */ #include +#include #include #include #include @@ -112,7 +120,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);