mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
spu: save and restore mfc cmd after processing
This commit is contained in:
parent
0d46a8e786
commit
494cbac78b
1 changed files with 2 additions and 1 deletions
|
@ -1435,8 +1435,9 @@ bool SPUThread::set_ch_value(u32 ch, u32 value)
|
|||
case MFC_Cmd:
|
||||
{
|
||||
ch_mfc_cmd.cmd = MFC(value & 0xff);
|
||||
auto cmd = ch_mfc_cmd; // save and restore previous command arguments
|
||||
process_mfc_cmd();
|
||||
ch_mfc_cmd = {}; // clear non-persistent data
|
||||
ch_mfc_cmd = cmd;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue