ps5: dce: implement buffer in use reporting

This commit is contained in:
DH 2024-11-22 16:13:24 +03:00
parent e92dd13d58
commit 8559a3d5dd

View File

@ -356,6 +356,14 @@ static orbis::ErrorCode dce_ioctl(orbis::File *file, std::uint64_t request,
return {};
}
if (args->id == 0x33) {
if (args->arg2 == 0 && args->ptr == nullptr && args->arg5 == 0 &&
args->arg6 == 0) {
gpuCtx.bufferInUseAddress[thread->tproc->vmId] = args->size;
return {};
}
}
ORBIS_LOG_FATAL("dce: unimplemented 0x80308217 request", args->id,
args->padding, args->arg2, args->ptr, args->size,
args->arg5, args->arg6);