mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
Don't ask twice if MemoryBlocks can read mem.
They already check on Read32(), so just use that to iterate.
This commit is contained in:
parent
db1ca2f89f
commit
e4c0b0310c
4 changed files with 73 additions and 13 deletions
|
|
@ -3,7 +3,9 @@
|
|||
|
||||
u8 PPCDecoder::DecodeMemory(const u64 address)
|
||||
{
|
||||
Decode(Memory.Read32(address));
|
||||
u32 instr;
|
||||
Memory.Read32ByAddr(address, &instr);
|
||||
Decode(instr);
|
||||
|
||||
return 4;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue