mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
some uncommitted old mapper code
apparently from 2011
This commit is contained in:
parent
cff531af94
commit
30f0fdd422
6 changed files with 209 additions and 15 deletions
|
@ -88,6 +88,8 @@ static int pdb_net_send(struct pdb_cpu *cpu, unsigned int pc)
|
|||
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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue