mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-27 20:14:17 +01:00
arm_dyncom_interpreter: Remove unused variable
Thum decoding directly checks if the thumb bit is set instead of using a temporary.
This commit is contained in:
parent
8c1ab1c2c4
commit
f62ab75c67
@ -3564,17 +3564,13 @@ static int InterpreterTranslate(ARMul_State* cpu, int& bb_start, u32 addr) {
|
|||||||
unsigned int inst, inst_size = 4;
|
unsigned int inst, inst_size = 4;
|
||||||
int idx;
|
int idx;
|
||||||
int ret = NON_BRANCH;
|
int ret = NON_BRANCH;
|
||||||
int thumb = 0;
|
|
||||||
int size = 0; // instruction size of basic block
|
int size = 0; // instruction size of basic block
|
||||||
bb_start = top;
|
bb_start = top;
|
||||||
|
|
||||||
if (cpu->TFlag)
|
|
||||||
thumb = THUMB;
|
|
||||||
|
|
||||||
u32 phys_addr = addr;
|
u32 phys_addr = addr;
|
||||||
u32 pc_start = cpu->Reg[15];
|
u32 pc_start = cpu->Reg[15];
|
||||||
|
|
||||||
while(ret == NON_BRANCH) {
|
while (ret == NON_BRANCH) {
|
||||||
inst = Memory::Read32(phys_addr & 0xFFFFFFFC);
|
inst = Memory::Read32(phys_addr & 0xFFFFFFFC);
|
||||||
|
|
||||||
size++;
|
size++;
|
||||||
|
Loading…
Reference in New Issue
Block a user