mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Revamp PFIFO command submission emulation (#2179)
This commit is contained in:
parent
44b8556dc6
commit
22b1400018
5 changed files with 65 additions and 19 deletions
|
|
@ -1297,7 +1297,7 @@ s32 cellGcmCallback(vm::ptr<CellGcmContextData> context, u32 count)
|
|||
std::pair<u32, u32> newCommandBuffer = getNextCommandBufferBeginEnd(context->current.addr());
|
||||
u32 offset = getOffsetFromAddress(newCommandBuffer.first);
|
||||
// Write jump instruction
|
||||
*context->current = CELL_GCM_METHOD_FLAG_JUMP | offset;
|
||||
*context->current = RSX_METHOD_OLD_JUMP_CMD | offset;
|
||||
// Update current command buffer
|
||||
context->begin.set(newCommandBuffer.first);
|
||||
context->current.set(newCommandBuffer.first);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue