* move np_score to /np_score folder
* added more logging to np functions
* using common np_error file
* moved web_api to dedicated folder
* implemented some context creations for np_score so logging would be more productive
* implement sceAudio3dPortCreate and closer implementation to sceAudio3dPortOpen
* clang format and forgot to remove some lines
* refactor port creation, small cleanups and openal
* rename parameter arguments
* idk might be correct
* floor size_this to closest multiple of 8
* Fix nids for strcmp vs strncmp
Co-Authored-By: m33ts4k0z <3597723+m33ts4k0z@users.noreply.github.com>
* Fix sign_bit_set logic
Co-Authored-By: m33ts4k0z <3597723+m33ts4k0z@users.noreply.github.com>
* Fix IterateDirectory on mounts
IterateDirectory would just retrieve the base path when trying to iterate /app0, since GetHostPath for the other path types would still return the base path.
Co-Authored-By: m33ts4k0z <3597723+m33ts4k0z@users.noreply.github.com>
* Fix function resolves
If multiple modules export the same library and module, then we would only check the first one we find for the symbol. This can end up breaking the font library stack
Co-Authored-By: m33ts4k0z <3597723+m33ts4k0z@users.noreply.github.com>
* Update fs.cpp
Co-Authored-By: m33ts4k0z <3597723+m33ts4k0z@users.noreply.github.com>
* Oops
---------
Co-authored-by: m33ts4k0z <3597723+m33ts4k0z@users.noreply.github.com>
* Fix flip status on close
* Store equeues by handle instead of pointer
As is, a game could call sceKernelDeleteEqueue on the equeue registered for flip/vblank events, and terminate the equeue while our VideoOut driver retains a valid pointer to it.
Changing to storing the equeue handle means we can check if the equeue still exists and prevent this.
* Remove flip and vblank events on sceVideoOutClose
* Don't forget to clear vectors
* Oops
Intended to erase the memset on FlipStatus, not VblankStatus.
* Add proper SDK checks for language values
Fixes some crashes caused by otherwise valid languages in older titles.
* Rename firmware constants
Makes more sense this way, and works better in case we find an SDK check added in a more minor update.
Instead of 1.00 being 10, 1.50 being 15, and so on, this commit changes 1.00 to 100, 1.50 to 150, and so on.
* Claaaaang
* more uri work based on decompile and tests
* fix includes
* fix loader stubs
* cleanups
* sceHttpParseStatusLine matches decompile and tests
* sceHttpParseResponseHeader implemenation and tests
* try fixing no-internet path in sendrequest
* minimal state machine to support proper erroring of no-internet available
* more improvements
* more implementation based on stephen's comments
* some more fixes based on decompile
* add parameters and logging
* added sceHttpUriBuild , fixes to sceHttpUriEscape ,sceHttpUriParse
* return an error to statuscode , this should be enough for no-connection