rpcsx/rpcs3/Emu/Cell/PPCThread.h

26 lines
408 B
C
Raw Normal View History

#pragma once
#include "Emu/CPU/CPUThread.h"
class PPCThread : public CPUThread
{
public:
virtual void InitRegs()=0;
virtual void InitStack();
2013-11-27 20:16:19 +01:00
virtual std::string GetThreadName() const
{
return (GetFName() + fmt::Format("[0x%08x]", PC));
}
protected:
PPCThread(CPUThreadType type);
public:
virtual ~PPCThread();
protected:
virtual void DoReset() override;
};
PPCThread* GetCurrentPPCThread();