rpcsx/rpcs3/Emu/Cell/PPCDecoder.cpp
Unknown W. Brackets e4c0b0310c Don't ask twice if MemoryBlocks can read mem.
They already check on Read32(), so just use that to iterate.
2014-04-28 00:15:37 -07:00

11 lines
174 B
C++

#include "stdafx.h"
#include "PPCDecoder.h"
u8 PPCDecoder::DecodeMemory(const u64 address)
{
u32 instr;
Memory.Read32ByAddr(address, &instr);
Decode(instr);
return 4;
}