all repos — mgba @ e6ea94d2296eae963a48a18d009217a38d92bf9b

mGBA Game Boy Advance Emulator

src/arm/decoder-inlines.h (view raw)

 1#ifndef ARM_DECODER_INLINES_H
 2#define ARM_DECODER_INLINES_H
 3
 4#include "decoder.h"
 5
 6#include "arm.h"
 7
 8#include <stdio.h>
 9#include <string.h>
10
11#define LOAD_CYCLES \
12	info->iCycles = 1; \
13	info->nDataCycles = 1;
14
15#define STORE_CYCLES \
16	info->sInstructionCycles = 0; \
17	info->nInstructionCycles = 1; \
18	info->nDataCycles = 1;
19
20#endif