shadPS4/src/core/libraries/gnmdriver
Stephen Miller 4d0c03fd4a
Properly implement sceVideoOutGetBufferLabelAddress (#2642)
* Export sceVideoOutGetBufferLabelAddress

It's an exported function, used by red_prig's BLACKSQUAR2 homebrew sample.
This also fixes the function's return type accordingly.

* More sceVideoOutGetBufferLabelAddress fixups

Library decomp shows a hardcoded return 16 on success. Not sure why it does that, but it never hurts to be accurate.
Also needs to have an openOrbis-specific export to get it to work with the homebrew sample I'm testing.

* Final fixups

Removed the port assert and added asserts in libSceGnmDriver for when sceVideoOutGetBufferLabelAddress calls fail.
2025-03-12 20:36:01 +02:00
..
gnm_error.h core: Library cleanup (#1631) 2024-11-30 22:37:36 +02:00
gnmdriver.cpp Properly implement sceVideoOutGetBufferLabelAddress (#2642) 2025-03-12 20:36:01 +02:00
gnmdriver.h gnmdriver: Implement sceGnmUpdateHsShader (#2412) 2025-02-12 19:45:42 -08:00
gnmdriver_init.h gnmdriver: Implement neo mode differences. (#2011) 2025-01-03 21:22:27 +01:00