Skip to content

Commit

Permalink
ps5: dce: implement buffer in use reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
DHrpcs3 committed Nov 22, 2024
1 parent e92dd13 commit 8559a3d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions rpcsx/iodev/dce.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8559a3d

Please sign in to comment.