mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 16:01:42 +12:00
Minor changes (#2352)
* More initial values for rsx method registers * Implemented spu decrementer event * Remove u32 cast
This commit is contained in:
parent
47b4c649f1
commit
1669d0fdbd
4 changed files with 28 additions and 3 deletions
|
@ -511,6 +511,12 @@ u32 SPUThread::get_events(bool waiting)
|
|||
last_raddr = 0;
|
||||
}
|
||||
|
||||
// SPU Decrementer Event
|
||||
if ((ch_dec_value - (get_timebased_time() - ch_dec_start_timestamp)) >> 31)
|
||||
{
|
||||
ch_event_stat |= SPU_EVENT_TM;
|
||||
}
|
||||
|
||||
// initialize waiting
|
||||
if (waiting)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue