mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
26 lines
410 B
C++
26 lines
410 B
C++
#pragma once
|
|
#include "Emu/CPU/CPUThread.h"
|
|
|
|
class PPCThread : public CPUThread
|
|
{
|
|
public:
|
|
virtual void InitRegs()=0;
|
|
virtual void InitStack();
|
|
|
|
virtual std::string GetThreadName() const
|
|
{
|
|
return (GetFName() + fmt::Format("[0x%08llx]", PC));
|
|
}
|
|
|
|
protected:
|
|
PPCThread(CPUThreadType type);
|
|
|
|
public:
|
|
virtual ~PPCThread();
|
|
|
|
protected:
|
|
virtual void DoReset() override;
|
|
};
|
|
|
|
PPCThread* GetCurrentPPCThread();
|