mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-19 12:40:29 +00:00
Rename lv2_spu_group::num to max_num
This commit is contained in:
parent
26da91c972
commit
dce14a359a
@ -242,7 +242,7 @@ error_code sys_spu_thread_initialize(vm::ptr<u32> thread, u32 group_id, u32 spu_
|
||||
group->imgs[spu_num] = std::make_pair(*img, std::vector<sys_spu_segment>());
|
||||
group->imgs[spu_num].second.assign(img->segs.get_ptr(), img->segs.get_ptr() + img->nsegs);
|
||||
|
||||
if (++group->init == group->num)
|
||||
if (++group->init == group->max_num)
|
||||
{
|
||||
group->run_state = SPU_THREAD_GROUP_STATUS_INITIALIZED;
|
||||
}
|
||||
|
@ -224,7 +224,7 @@ struct lv2_spu_group
|
||||
|
||||
const std::string name;
|
||||
const u32 id;
|
||||
const u32 num; // SPU Number
|
||||
const u32 max_num;
|
||||
const s32 type; // SPU Thread Group Type
|
||||
const u32 ct; // Memory Container Id
|
||||
|
||||
@ -247,7 +247,7 @@ struct lv2_spu_group
|
||||
lv2_spu_group(std::string name, u32 num, s32 prio, s32 type, u32 ct)
|
||||
: id(idm::last_id())
|
||||
, name(name)
|
||||
, num(num)
|
||||
, max_num(num)
|
||||
, init(0)
|
||||
, prio(prio)
|
||||
, type(type)
|
||||
|
Loading…
x
Reference in New Issue
Block a user