mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
11 lines
244 B
C++
11 lines
244 B
C++
#include "stdafx.h"
|
|
#include "SPUDisAsm.h"
|
|
|
|
const spu_decoder<SPUDisAsm> s_spu_disasm;
|
|
|
|
u32 SPUDisAsm::disasm(u32 pc)
|
|
{
|
|
const u32 op = *reinterpret_cast<const be_t<u32>*>(offset + pc);
|
|
(this->*(s_spu_disasm.decode(op)))({ op });
|
|
return 4;
|
|
}
|