diff --git a/docs/dev/debt/libSceNgs2.native.md b/docs/dev/debt/libSceNgs2.native.md index 16171e4270..7ea9329ad2 100644 --- a/docs/dev/debt/libSceNgs2.native.md +++ b/docs/dev/debt/libSceNgs2.native.md @@ -29,4 +29,4 @@ ### Functional -- [sceNgs2RackGetVoiceHandle voice index](../../../core/libs/prx/libSceNgs2.native/src/Rack.cpp) (libSceNgs2.native) - an index at or beyond the rack's voice count returns `0x804A8305` and leaves the output handle untouched, after the null-output and rack-handle checks that keep their order and codes. The value follows [prosper's analysis of `libSceNgs2.native.sprx`](https://github.com/mattias800/prosper/blob/d61eb2c0ad2de879ef74df9c4aa050c512804a18/prosper/src/hle/audio/hle_audio.cpp#L4299) (export `MwmHz8pAdAo` at `0xfbd0`, bounds error at `0xfc73`), which also resolves the rack before the output check; [shadPS4](https://github.com/shadps4-emu/shadPS4/blob/e6faa2e3b6794a2fa79a709352ddfccfaa817ed1/src/core/libraries/ngs2/ngs2_error.h) lists `0x804A0302` for the PS4 library. Neither is a PS5 measurement. Heretic + Hexen (PPSA26525) and STAR WARS: Dark Forces Remaster (PPSA19728) create a one-voice reverb rack, take voice 0 and ask for voice 1 at start-up, log the failure and go on +- [sceNgs2RackGetVoiceHandle voice index](../../../core/libs/prx/libSceNgs2.native/src/Rack.cpp) (libSceNgs2.native) - an index at or beyond the rack's voice count returns `0x804A8305` and leaves the output handle untouched, after the null-output and rack-handle checks that keep their order and codes. The value follows [prosper's analysis of `libSceNgs2.native.sprx`](https://github.com/mattias800/prosper/blob/d61eb2c0ad2de879ef74df9c4aa050c512804a18/prosper/src/hle/audio/hle_audio.cpp#L4299) (export `MwmHz8pAdAo` at `0xfbd0`, bounds error at `0xfc73`), which also resolves the rack before the output check; [shadPS4](https://github.com/shadps4-emu/shadPS4/blob/e6faa2e3b6794a2fa79a709352ddfccfaa817ed1/src/core/libraries/ngs2/ngs2_error.h) lists `0x804A0302` for the PS4 library. Neither is a PS5 measurement. Heretic + Hexen (PPSA26525), DOOM + DOOM II (PPSA21444) and STAR WARS: Dark Forces Remaster (PPSA19728) create a one-voice reverb rack, take voice 0 and ask for voices 1 to 3 at start-up, log the failures and go on