summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-05-27 02:27:48 +0200
committerLioncash <mathew1800@gmail.com>2015-05-27 02:27:48 +0200
commit0ff414f5617fa3bd8e34889e4b36b783c6120575 (patch)
tree1151d164720ecf6a1626a7d90bde3a99e032fde1 /src/core
parentMerge pull request #821 from Subv/ImportDisplayCaptureInfo (diff)
parentarm_dyncom_interpreter: Remove unused variable (diff)
downloadyuzu-0ff414f5617fa3bd8e34889e4b36b783c6120575.tar
yuzu-0ff414f5617fa3bd8e34889e4b36b783c6120575.tar.gz
yuzu-0ff414f5617fa3bd8e34889e4b36b783c6120575.tar.bz2
yuzu-0ff414f5617fa3bd8e34889e4b36b783c6120575.tar.lz
yuzu-0ff414f5617fa3bd8e34889e4b36b783c6120575.tar.xz
yuzu-0ff414f5617fa3bd8e34889e4b36b783c6120575.tar.zst
yuzu-0ff414f5617fa3bd8e34889e4b36b783c6120575.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/arm/dyncom/arm_dyncom_interpreter.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
index e4b5486e0..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++;
@@ -3890,7 +3886,6 @@ unsigned InterpreterMainLoop(ARMul_State* cpu) {
#define CurrentModeHasSPSR (cpu->Mode != SYSTEM32MODE) && (cpu->Mode != USER32MODE)
#define PC (cpu->Reg[15])
- #define CHECK_EXT_INT if (!cpu->NirqSig && !(cpu->Cpsr & 0x80)) goto END;
// GCC and Clang have a C++ extension to support a lookup table of labels. Otherwise, fallback
// to a clunky switch statement.