mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
28 lines
508 B
C++
28 lines
508 B
C++
#include "stdafx.h"
|
|
#include "PPCThread.h"
|
|
#include "Emu/Memory/Memory.h"
|
|
|
|
PPCThread* GetCurrentPPCThread()
|
|
{
|
|
CPUThread* thread = GetCurrentCPUThread();
|
|
|
|
if(!thread || (thread->GetType() != CPU_THREAD_PPU && thread->GetType() != CPU_THREAD_SPU && thread->GetType() != CPU_THREAD_RAW_SPU))
|
|
{
|
|
throw std::string("GetCurrentPPCThread: bad thread");
|
|
}
|
|
|
|
return (PPCThread*)thread;
|
|
}
|
|
|
|
PPCThread::PPCThread(CPUThreadType type) : CPUThread(type)
|
|
{
|
|
}
|
|
|
|
PPCThread::~PPCThread()
|
|
{
|
|
}
|
|
|
|
void PPCThread::DoReset()
|
|
{
|
|
}
|