/*
- * vim:shiftwidth=2:expandtab
* 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.
*/
#define _GNU_SOURCE
#include <stdio.h>
packet.header.len = 4 + rl + 4*2;
sh2->pdb_io_csum[0] = sh2->pdb_io_csum[1] = 0;
}
+ else
+ memset(&packet, 0, sizeof(packet));
ret = send(pdb_net_sock, &packet, sizeof(packet.header) + packet.header.len, MSG_NOSIGNAL);
if (ret != sizeof(packet.header) + packet.header.len) {
pdb_cpu_count = 0;
}
+// vim:shiftwidth=2:expandtab