rpcsx/rpcs3/Emu/Cell/PPUDecoder.h
DH b35dfdf29b - Improved PPCDecoder.
- Improved PPUDecoder.
- Improved Debugger GUI.

CompilerELF:
 - Added all PPU instructions.
 - Fixed analyzer crash.
2013-07-03 19:17:16 +03:00

26 lines
365 B
C++

#pragma once
#include "Emu/Cell/PPUOpcodes.h"
#include "Emu/Cell/PPCDecoder.h"
#include "PPUInstrTable.h"
class PPU_Decoder : public PPC_Decoder
{
PPU_Opcodes* m_op;
public:
PPU_Decoder(PPU_Opcodes& op) : m_op(&op)
{
}
~PPU_Decoder()
{
m_op->Exit();
delete m_op;
}
virtual void Decode(const u32 code)
{
(*PPU_instr::main_list)(m_op, code);
}
};