SPU: increase max SPU count

According to max SPU TG count.
This commit is contained in:
Nekotekina 2020-11-17 15:00:43 +03:00
parent 0fec99e75b
commit ccd0d2046d
2 changed files with 3 additions and 1 deletions

View File

@ -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);

View File

@ -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;