rpcsx/rpcs3/Emu/Cell/PPUDecoder.h

25 lines
350 B
C
Raw Normal View History

#pragma once
#include "Emu/Cell/PPUOpcodes.h"
#include "Emu/Cell/PPCDecoder.h"
#include "PPUInstrTable.h"
class PPUDecoder : public PPCDecoder
{
PPUOpcodes* m_op;
public:
PPUDecoder(PPUOpcodes* op) : m_op(op)
2013-07-01 14:08:58 +02:00
{
}
virtual ~PPUDecoder()
{
delete m_op;
}
virtual void Decode(const u32 code)
{
(*PPU_instr::main_list)(m_op, code);
}
};