rickgaiser / neutrino

Small, Fast and Modular PS2 Device Emulator
Academic Free License v3.0
61 stars 3 forks source link

dev9 shutdown by games #18

Open rickgaiser opened 9 months ago

rickgaiser commented 9 months ago

Some games that use HDD and/or network send shutdown command to dev9. This causes cdvd emulation from HDD/network to stop working.

The solution is to disable all functionality in dev9Shutdown in dev9.irx: https://github.com/ps2dev/ps2sdk/blob/6b656d1ae18dd2bb75a6caa03346cf9f933c12c6/iop/dev9/dev9/src/ps2dev9.c#L359-L376

A tests show this fixes SOCOMII online when booted from HDD. A proper solution needs to be implemented.

israpps commented 9 months ago

Update PS2SDK DEV9 driver to allow via argument passing to ignore the call to those functions?