mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
sys_spu: Don't reset snr config at group_start()
Also first check for EINVAL in sys_spu_thread_set_spu_cfg
This commit is contained in:
parent
6dd96d3db9
commit
95752607ea
3 changed files with 11 additions and 8 deletions
|
@ -1055,8 +1055,6 @@ void spu_thread::cpu_init()
|
|||
ch_out_mbox.data.raw() = {};
|
||||
ch_out_intr_mbox.data.raw() = {};
|
||||
|
||||
snr_config = 0;
|
||||
|
||||
ch_snr1.data.raw() = {};
|
||||
ch_snr2.data.raw() = {};
|
||||
|
||||
|
@ -1068,6 +1066,11 @@ void spu_thread::cpu_init()
|
|||
ch_dec_start_timestamp = get_timebased_time(); // ???
|
||||
ch_dec_value = 0;
|
||||
|
||||
if (offset >= RAW_SPU_BASE_ADDR)
|
||||
{
|
||||
snr_config = 0;
|
||||
}
|
||||
|
||||
run_ctrl.raw() = 0;
|
||||
status.raw() = 0;
|
||||
npc.raw() = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue