Files
sharpemu/src/SharpEmu.Libs
Nicola Pomarico d7f6e3f578 [Kernel] Implement sceKernelMapDirectMemory2 (#433)
The "2" variant of sceKernelMapDirectMemory was unimplemented, so titles
that call it (seen in Gex Trilogy) got an unresolved import that returned
an error the guest then used as a mapped address.

v2 inserts a memoryType argument ahead of v1's protection, shifting the
remaining arguments down one register and pushing alignment onto the
stack. Extract v1's body into a shared MapDirectMemoryCore and route both
exports through it; v2 reads its shifted arguments and the stack alignment
and accepts the memoryType (which only selects cache/GPU attributes this
HLE does not model per mapping, so it does not affect placement).
2026-07-19 14:35:40 +03:00
..
2026-07-19 00:31:50 +03:00
2026-07-19 00:31:50 +03:00
2026-07-19 00:31:50 +03:00
2026-07-19 00:31:50 +03:00
2026-07-18 23:44:57 +03:00
2026-07-16 13:57:16 +03:00
2026-07-19 00:31:50 +03:00