Merge pull request #242 from retro-wertz/fix_alignments

Fix some formatting alignments in arm/thumb opcodes
This commit is contained in:
Zach Bacon 2018-06-05 07:00:18 -04:00 committed by GitHub
commit fdb39a1c8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
uint32_t value = reg[(opcode >> 3) & 7].B.B0;
if (value) {
value = value & 0x1f;
if (value == 0) {
@ -1981,6 +1980,7 @@ static INSN_REGPARM void thumbBreakpoint(uint32_t opcode)
#else
#define thumbBP thumbUnknownInsn
#endif
static insnfunc_t thumbInsnTable[1024] = {
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,
@ -2132,6 +2132,7 @@ static INSN_REGPARM void thumbBreakpoint(uint32_t opcode)
busPrefetchCount = 0x100 | (busPrefetchCount & 0xFF);
clockTicks = 0;
uint32_t oldArmNextPC = armNextPC;
#ifndef FINAL_VERSION
if (armNextPC == stop) {
armNextPC++;