mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
gc: fix switch buffer
This commit is contained in:
parent
804d195922
commit
4a0cbe7701
|
|
@ -238,7 +238,7 @@ static orbis::ErrorCode gc_ioctl(orbis::File *file, std::uint64_t request,
|
|||
auto args = reinterpret_cast<Args *>(argp);
|
||||
if (auto gpu = amdgpu::DeviceCtl{orbis::g_context.gpuDevice}) {
|
||||
gpu.waitForIdle();
|
||||
gpu.submitSwitchBuffer(orbis::g_currentThread->tproc->vmId);
|
||||
gpu.submitSwitchBuffer(orbis::g_currentThread->tproc->gfxRing);
|
||||
} else {
|
||||
return orbis::ErrorCode::BUSY;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue