rpcsx/rpcs3/Emu/Cell/SPUDisAsm.cpp

12 lines
222 B
C++
Raw Normal View History

2016-04-14 01:09:41 +02:00
#include "stdafx.h"
#include "SPUDisAsm.h"
const spu_decoder<SPUDisAsm> s_spu_disasm;
u32 SPUDisAsm::disasm(u32 pc)
{
const u32 op = *(be_t<u32>*)(offset + pc);
(this->*(s_spu_disasm.decode(op)))({ op });
return 4;
}