cpu_thread compressed

This commit is contained in:
Nekotekina 2016-06-25 16:54:08 +03:00
parent 9db7de29fb
commit 7a921cbdf9
10 changed files with 52 additions and 39 deletions

View file

@ -70,7 +70,7 @@ static std::unordered_map<u32, ppu_function_t, ppu_addr_hash> s_ppu_compiled; //
std::string PPUThread::get_name() const
{
return fmt::format("PPU[0x%x] Thread (%s)", id, name);
return fmt::format("PPU[0x%x] Thread (%s)", id, m_name);
}
std::string PPUThread::dump() const
@ -298,7 +298,8 @@ PPUThread::~PPUThread()
}
PPUThread::PPUThread(const std::string& name)
: cpu_thread(cpu_type::ppu, name)
: cpu_thread(cpu_type::ppu)
, m_name(name)
{
}