gba-thumb.cpp @l1587:
// LDR Rd, [Rs, #Imm]
static INSN_REGPARM void thumb68(u32 opcode){
if (busPrefetchCount == 0)
Code: Select all
busPrefetch = busPrefetchEnable;
u32 address = reg[(opcode>>3)&7].I + b<<2)[/b];
reg[opcode&7].I = CPUReadMemory(address);
clockTicks = 3 + dataTicksAccess32(address) + codeTicksAccess16(armNextPC);
}
Couldn't the highlighted block be optimized by replacing it with
code[/code]
Â
Â
There are several cases like this around that area.