all repos — mgba @ 0e2394e7d5a7172ba1a60d424066c9947b5fe581

mGBA Game Boy Advance Emulator

De-inline ARMStep
Jeffrey Pfau jeffrey@endrift.com
Sun, 07 Apr 2013 01:46:48 -0700
commit

0e2394e7d5a7172ba1a60d424066c9947b5fe581

parent

b23f1ee3e3d4eb99b6e45c1f95ee22a89111f3da

2 files changed, 3 insertions(+), 3 deletions(-)

jump to
M src/arm.csrc/arm.c

@@ -90,7 +90,7 @@ void ARMAssociateMemory(struct ARMCore* cpu, struct ARMMemory* memory) {

cpu->memory = memory; } -inline void ARMCycle(struct ARMCore* cpu) { +void ARMStep(struct ARMCore* cpu) { // TODO uint32_t opcode; ARMInstruction instruction = cpu->loadInstruction(cpu->memory, cpu->gprs[ARM_PC] - cpu->instructionWidth, &opcode);
M src/arm.hsrc/arm.h

@@ -96,6 +96,6 @@

void ARMInit(struct ARMCore* cpu); void ARMAssociateMemory(struct ARMCore* cpu, struct ARMMemory* memory); -inline void ARMCycle(struct ARMCore* cpu); +void ARMStep(struct ARMCore* cpu); -#endif+#endif