mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
SPU/event queue: Implement protocol for SPU queue
This commit is contained in:
parent
f1f93b8f81
commit
063df64108
3 changed files with 19 additions and 4 deletions
|
@ -4835,6 +4835,16 @@ spu_thread::thread_name_t::operator std::string() const
|
|||
return full_name;
|
||||
}
|
||||
|
||||
spu_thread::priority_t::operator s32() const
|
||||
{
|
||||
if (_this->get_type() != spu_type::threaded || !_this->group->has_scheduler_context)
|
||||
{
|
||||
return s32{smax};
|
||||
}
|
||||
|
||||
return _this->group->prio;
|
||||
}
|
||||
|
||||
template <>
|
||||
void fmt_class_string<spu_channel>::format(std::string& out, u64 arg)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue