hrydgard/ppsspp — pull request #5007 by jefrsilva (2014-01-04 15:15:02+00:00)
Title: Fix for not updating local port information after bind in PtpOpen

This is a fix for sceNetAdhocPtpOpen who wouldn't update local port information after bind had chosen an unused port for the socket. This was causing the emulator trying to bind two or more sockets to the same port in games like Monster Hunter Freedom Unite and Monster Hunter Portable 3rd during quest start.

Tested in MHFU and MHP3rd with 4 players in LAN and internet via Hamachi.