mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
SPU: make do_dma_transfer() static with _this arg
Instead of this, nullptr will be passed from another thread. MMIO via MMIO is disabled if it even possible.
This commit is contained in:
parent
4378a09867
commit
006c783aba
3 changed files with 50 additions and 25 deletions
|
|
@ -90,7 +90,7 @@ bool spu_thread::read_reg(const u32 addr, u32& value)
|
|||
if (cmd.size)
|
||||
{
|
||||
// Perform transfer immediately
|
||||
do_dma_transfer(cmd);
|
||||
do_dma_transfer(nullptr, cmd, ls);
|
||||
}
|
||||
|
||||
if (cmd.cmd & MFC_START_MASK)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue