mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-11 03:00:16 +01:00
- Improved PPUDecoder. - Improved Debugger GUI. CompilerELF: - Added all PPU instructions. - Fixed analyzer crash.
26 lines
365 B
C++
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);
|
|
}
|
|
}; |