mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
25 lines
343 B
C++
25 lines
343 B
C++
#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)
|
|
{
|
|
}
|
|
|
|
~PPUDecoder()
|
|
{
|
|
delete m_op;
|
|
}
|
|
|
|
virtual void Decode(const u32 code)
|
|
{
|
|
(*PPU_instr::main_list)(m_op, code);
|
|
}
|
|
}; |