Minor sync of bsdsocket code with latest WinUAE
This commit is contained in:
parent
2a9c74d469
commit
472b1b6841
1 changed files with 4 additions and 4 deletions
|
@ -1651,6 +1651,9 @@ void bsdlib_reset (void)
|
||||||
write_log (_T("BSDSOCK: cleanup end\n"));
|
write_log (_T("BSDSOCK: cleanup end\n"));
|
||||||
|
|
||||||
socketbases = NULL;
|
socketbases = NULL;
|
||||||
|
#if 1
|
||||||
|
sbsigqueue = NULL;
|
||||||
|
#endif
|
||||||
|
|
||||||
for (i = 0; i < SOCKPOOLSIZE; i++) {
|
for (i = 0; i < SOCKPOOLSIZE; i++) {
|
||||||
if (sockdata->sockpoolids[i] != UNIQUE_ID) {
|
if (sockdata->sockpoolids[i] != UNIQUE_ID) {
|
||||||
|
@ -1728,11 +1731,8 @@ void bsdlib_install (void)
|
||||||
sockdata->sockpoolids[i] = UNIQUE_ID;
|
sockdata->sockpoolids[i] = UNIQUE_ID;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!init_socket_layer ()) {
|
if (!init_socket_layer ())
|
||||||
res_name = 0;
|
|
||||||
res_id = 0;
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
|
|
||||||
res_name = ds (_T("bsdsocket.library"));
|
res_name = ds (_T("bsdsocket.library"));
|
||||||
res_id = ds (_T("UAE bsdsocket.library 4.1"));
|
res_id = ds (_T("UAE bsdsocket.library 4.1"));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue