mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
cpu_thread compressed
This commit is contained in:
parent
9db7de29fb
commit
7a921cbdf9
10 changed files with 52 additions and 39 deletions
|
@ -126,7 +126,7 @@ spu_imm_table_t::spu_imm_table_t()
|
|||
|
||||
std::string SPUThread::get_name() const
|
||||
{
|
||||
return fmt::format("%sSPU[0x%x] Thread (%s)", offset > RAW_SPU_BASE_ADDR ? "Raw" : "", id, name);
|
||||
return fmt::format("%sSPU[0x%x] Thread (%s)", offset > RAW_SPU_BASE_ADDR ? "Raw" : "", id, m_name);
|
||||
}
|
||||
|
||||
std::string SPUThread::dump() const
|
||||
|
@ -240,14 +240,16 @@ SPUThread::~SPUThread()
|
|||
}
|
||||
|
||||
SPUThread::SPUThread(const std::string& name)
|
||||
: cpu_thread(cpu_type::spu, name)
|
||||
: cpu_thread(cpu_type::spu)
|
||||
, m_name(name)
|
||||
, index(0)
|
||||
, offset(0)
|
||||
{
|
||||
}
|
||||
|
||||
SPUThread::SPUThread(const std::string& name, u32 index)
|
||||
: cpu_thread(cpu_type::spu, name)
|
||||
: cpu_thread(cpu_type::spu)
|
||||
, m_name(name)
|
||||
, index(index)
|
||||
, offset(vm::alloc(0x40000, vm::main))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue