rpcs3/rpcs3/Emu/Cell/SPUDecoder.h
DH 6d7d3acb43 - Fixed loading modules in debug mode.
- Improved Lwmutex.
- Implemented events syscalls.
- Fixed SPU local storage.
2013-07-06 02:49:38 +03:00

26 lines
375 B
C++

#pragma once
#include "Emu/Cell/SPUOpcodes.h"
#include "Emu/Cell/PPCDecoder.h"
#include "Emu/Cell/SPUInstrtable.h"
class SPU_Decoder : public PPC_Decoder
{
SPU_Opcodes* m_op;
public:
SPU_Decoder(SPU_Opcodes& op) : m_op(&op)
{
}
~SPU_Decoder()
{
m_op->Exit();
delete m_op;
}
virtual void Decode(const u32 code)
{
(*SPU_instr::rrr_list)(m_op, code);
}
};