mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-05 13:20:11 +00:00
sceGnmDrawInitToDefaultContextStateInternalSize previously threw NotImplemented_nid_no_patch. Pinned shadPS4 2183807e59 (gnmdriver.cpp L2986-L2992) returns 0x20 below SDK 4.00 and 0x100 from SDK 4.00, matching the buffer sizes required by sceGnmDrawInitToDefaultContextStateInternalCommand. Return 0x20 when the compiled SDK version in process parameters is below 0x04000000 and 0x100 from 0x04000000, reading the compiled SDK version at each call.