Fix some formatting alignments in arm/thumb opcodes

This commit is contained in:
retro-wertz 2018-06-05 18:43:32 +08:00
parent 893269d897
commit 26c8c61b88
2 changed files with 1290 additions and 1289 deletions

View File

@ -1086,7 +1086,6 @@ static INSN_REGPARM void thumbBreakpoint(uint32_t opcode)
{ {
int dest = opcode & 7; int dest = opcode & 7;
uint32_t value = reg[(opcode >> 3) & 7].B.B0; uint32_t value = reg[(opcode >> 3) & 7].B.B0;
if (value) { if (value) {
value = value & 0x1f; value = value & 0x1f;
if (value == 0) { if (value == 0) {
@ -1981,6 +1980,7 @@ static INSN_REGPARM void thumbBreakpoint(uint32_t opcode)
#else #else
#define thumbBP thumbUnknownInsn #define thumbBP thumbUnknownInsn
#endif #endif
static insnfunc_t thumbInsnTable[1024] = { static insnfunc_t thumbInsnTable[1024] = {
thumb00_00, thumb00_01, thumb00_02, thumb00_03, thumb00_04, thumb00_05, thumb00_06, thumb00_07, // 00 thumb00_00, thumb00_01, thumb00_02, thumb00_03, thumb00_04, thumb00_05, thumb00_06, thumb00_07, // 00
thumb00_08, thumb00_09, thumb00_0A, thumb00_0B, thumb00_0C, thumb00_0D, thumb00_0E, thumb00_0F, thumb00_08, thumb00_09, thumb00_0A, thumb00_0B, thumb00_0C, thumb00_0D, thumb00_0E, thumb00_0F,
@ -2132,6 +2132,7 @@ static INSN_REGPARM void thumbBreakpoint(uint32_t opcode)
busPrefetchCount = 0x100 | (busPrefetchCount & 0xFF); busPrefetchCount = 0x100 | (busPrefetchCount & 0xFF);
clockTicks = 0; clockTicks = 0;
uint32_t oldArmNextPC = armNextPC; uint32_t oldArmNextPC = armNextPC;
#ifndef FINAL_VERSION #ifndef FINAL_VERSION
if (armNextPC == stop) { if (armNextPC == stop) {
armNextPC++; armNextPC++;