rpcs3/rpcs3/Emu/Cell/SPUDecoder.h
2013-11-23 23:27:58 +01:00

25 lines
353 B
C++

#pragma once
#include "Emu/Cell/SPUOpcodes.h"
#include "Emu/Cell/PPCDecoder.h"
#include "Emu/Cell/SPUInstrTable.h"
class SPUDecoder : public PPCDecoder
{
SPUOpcodes* m_op;
public:
SPUDecoder(SPUOpcodes& op) : m_op(&op)
{
}
~SPUDecoder()
{
delete m_op;
}
virtual void Decode(const u32 code)
{
(*SPU_instr::rrr_list)(m_op, code);
}
};