mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-08 13:50:20 +00:00
Implement sceAgcAcquireMemSetEngine following the PS5 12.70 module (0xd450). Checks that opcode byte is 0x58 (returns 0x8a6c000c if not), leaves length unchecked, and patches bit 31 of dword 1 using (engine << 31). Reconcile with canonical signature in Agc.hpp and extend agc_commands tests.
20 lines
466 B
C++
20 lines
466 B
C++
#include "prx/libSceAgc/include/Agc.hpp"
|
|
#include <cstdint>
|
|
#include <cstddef>
|
|
#include "SceTypes.hpp"
|
|
#include "prx/libc/include/General.hpp"
|
|
|
|
extern "C" {
|
|
|
|
std::uint32_t* APS5_VABI sceAgcCbMemsetExclusive(CommandBuffer* buffer, void* destination, const void* pattern, std::uint64_t size) {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
int APS5_VABI sceAgcAcbInitializeDefaultHardwareState() {
|
|
NotImplemented_nid_no_patch(__func__);
|
|
return 0;
|
|
}
|
|
|
|
}
|