yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

Merge pull request #825 from lioncash/dync

dyncom: Minor cleanup.
This commit is contained in:
Lioncash 2015-05-26 20:27:48 -04:00
commit 0ff414f561
1 changed files with 1 additions and 6 deletions

View File

@ -3564,13 +3564,9 @@ 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];
@ -3890,7 +3886,6 @@ unsigned InterpreterMainLoop(ARMul_State* cpu) {
#define CurrentModeHasSPSR (cpu->Mode != SYSTEM32MODE) && (cpu->Mode != USER32MODE) #define CurrentModeHasSPSR (cpu->Mode != SYSTEM32MODE) && (cpu->Mode != USER32MODE)
#define PC (cpu->Reg[15]) #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 // GCC and Clang have a C++ extension to support a lookup table of labels. Otherwise, fallback
// to a clunky switch statement. // to a clunky switch statement.