mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-15 22:53:47 +00:00
SPU: increase max SPU count
According to max SPU TG count.
This commit is contained in:
parent
0fec99e75b
commit
ccd0d2046d
@ -636,7 +636,7 @@ public:
|
||||
|
||||
static const u32 id_base = 0x02000000; // TODO (used to determine thread type)
|
||||
static const u32 id_step = 1;
|
||||
static const u32 id_count = (0xF0000000 - SPU_FAKE_BASE_ADDR) / SPU_LS_SIZE;
|
||||
static const u32 id_count = (0xFFFC0000 - SPU_FAKE_BASE_ADDR) / SPU_LS_SIZE;
|
||||
|
||||
spu_thread(lv2_spu_group* group, u32 index, std::string_view name, u32 lv2_id, bool is_isolated = false, u32 option = 0);
|
||||
|
||||
|
@ -262,6 +262,8 @@ struct lv2_spu_group
|
||||
static const u32 id_count = 255;
|
||||
static constexpr std::pair<u32, u32> id_invl_range = {0, 8};
|
||||
|
||||
static_assert(spu_thread::id_count == id_count * 6 + 5);
|
||||
|
||||
const std::string name;
|
||||
const u32 id;
|
||||
const u32 max_num;
|
||||
|
Loading…
Reference in New Issue
Block a user