RPCS3 / rpcs3

PlayStation 3 emulator and debugger
https://rpcs3.net/
GNU General Public License v2.0
15.36k stars 1.91k forks source link

Dark Sector: exception with sin_vport = 0 #11395

Closed Megamouse closed 2 years ago

Megamouse commented 2 years ago

This issue is present on Dark Sector Demo, and most likely also on the full game.

The game calls sys_net_bnet_bind with SYS_NET_SOCK_DGRAM_P2P. The sin_vport is 0, so currently we throw an exception.

According to spec 0 is not supposed to be used as vport, so it should probably either return an error or default to 3658. This needs to be tested on hardware.

Anyway, doing either of the above lets me go ingame in the demo.

RPCS3.log

Darkhost1999 commented 2 years ago

Getting ingame would close this issue. Interesting discovery. https://github.com/RPCS3/rpcs3/issues/11273

Megamouse commented 2 years ago

nah. that issue comes way later and is not present in the demo.

Megamouse commented 2 years ago

fixed