mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
26 lines
353 B
C++
26 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);
|
|
}
|
|
};
|