mirror of https://github.com/mgba-emu/mgba.git
Remove redundant includes
This commit is contained in:
parent
66191ee92a
commit
f74815988b
|
@ -1,13 +1,9 @@
|
||||||
#include "decoder.h"
|
#include "decoder.h"
|
||||||
|
|
||||||
#include "arm.h"
|
|
||||||
#include "decoder-inlines.h"
|
#include "decoder-inlines.h"
|
||||||
#include "emitter-arm.h"
|
#include "emitter-arm.h"
|
||||||
#include "isa-inlines.h"
|
#include "isa-inlines.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#define ADDR_MODE_1_SHIFT(OP) \
|
#define ADDR_MODE_1_SHIFT(OP) \
|
||||||
info->op3.reg = opcode & 0x0000000F; \
|
info->op3.reg = opcode & 0x0000000F; \
|
||||||
info->op3.shifterOp = ARM_SHIFT_ ## OP; \
|
info->op3.shifterOp = ARM_SHIFT_ ## OP; \
|
||||||
|
|
|
@ -1,13 +1,9 @@
|
||||||
#include "decoder.h"
|
#include "decoder.h"
|
||||||
|
|
||||||
#include "arm.h"
|
|
||||||
#include "decoder-inlines.h"
|
#include "decoder-inlines.h"
|
||||||
#include "emitter-thumb.h"
|
#include "emitter-thumb.h"
|
||||||
#include "isa-inlines.h"
|
#include "isa-inlines.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#define DEFINE_THUMB_DECODER(NAME, MNEMONIC, BODY) \
|
#define DEFINE_THUMB_DECODER(NAME, MNEMONIC, BODY) \
|
||||||
static void _ThumbDecode ## NAME (uint16_t opcode, struct ARMInstructionInfo* info) { \
|
static void _ThumbDecode ## NAME (uint16_t opcode, struct ARMInstructionInfo* info) { \
|
||||||
UNUSED(opcode); \
|
UNUSED(opcode); \
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
#include "arm.h"
|
#include "arm.h"
|
||||||
|
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
// Bit 0: a register is involved with this operand
|
// Bit 0: a register is involved with this operand
|
||||||
// Bit 1: an immediate is invovled with this operand
|
// Bit 1: an immediate is invovled with this operand
|
||||||
// Bit 2: a memory access is invovled with this operand
|
// Bit 2: a memory access is invovled with this operand
|
||||||
|
|
Loading…
Reference in New Issue