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:
Nekotekina 2020-10-30 02:07:20 +03:00
parent 4378a09867
commit 006c783aba
3 changed files with 50 additions and 25 deletions

View file

@ -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)