Skip to content

Commit

Permalink
gc: fix switch buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
DHrpcs3 committed Nov 24, 2024
1 parent 804d195 commit 4a0cbe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpcsx/iodev/gc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 4a0cbe7

Please sign in to comment.