diff options
author | Lioncash <mathew1800@gmail.com> | 2015-05-26 23:43:05 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-05-26 23:43:08 +0200 |
commit | f62ab75c675db04f8a3564484cc7d45ca984f393 (patch) | |
tree | d41e5c19935d9822d6a573b4e4d2bda49f211661 /src/core/arm | |
parent | arm_dyncom_interpreter: Remove unused macro (diff) | |
download | yuzu-f62ab75c675db04f8a3564484cc7d45ca984f393.tar yuzu-f62ab75c675db04f8a3564484cc7d45ca984f393.tar.gz yuzu-f62ab75c675db04f8a3564484cc7d45ca984f393.tar.bz2 yuzu-f62ab75c675db04f8a3564484cc7d45ca984f393.tar.lz yuzu-f62ab75c675db04f8a3564484cc7d45ca984f393.tar.xz yuzu-f62ab75c675db04f8a3564484cc7d45ca984f393.tar.zst yuzu-f62ab75c675db04f8a3564484cc7d45ca984f393.zip |
Diffstat (limited to 'src/core/arm')
-rw-r--r-- | src/core/arm/dyncom/arm_dyncom_interpreter.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp index b0a70cda8..b5d1b43cd 100644 --- a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp +++ b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp @@ -3564,17 +3564,13 @@ static int InterpreterTranslate(ARMul_State* cpu, int& bb_start, u32 addr) { unsigned int inst, inst_size = 4; int idx; int ret = NON_BRANCH; - int thumb = 0; int size = 0; // instruction size of basic block bb_start = top; - if (cpu->TFlag) - thumb = THUMB; - u32 phys_addr = addr; u32 pc_start = cpu->Reg[15]; - while(ret == NON_BRANCH) { + while (ret == NON_BRANCH) { inst = Memory::Read32(phys_addr & 0xFFFFFFFC); size++; |