De-inline ARMStep
This commit is contained in:
parent
b23f1ee3e3
commit
0e2394e7d5
@ -90,7 +90,7 @@ void ARMAssociateMemory(struct ARMCore* cpu, struct ARMMemory* memory) {
|
|||||||
cpu->memory = memory;
|
cpu->memory = memory;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void ARMCycle(struct ARMCore* cpu) {
|
void ARMStep(struct ARMCore* cpu) {
|
||||||
// TODO
|
// TODO
|
||||||
uint32_t opcode;
|
uint32_t opcode;
|
||||||
ARMInstruction instruction = cpu->loadInstruction(cpu->memory, cpu->gprs[ARM_PC] - cpu->instructionWidth, &opcode);
|
ARMInstruction instruction = cpu->loadInstruction(cpu->memory, cpu->gprs[ARM_PC] - cpu->instructionWidth, &opcode);
|
||||||
|
@ -96,6 +96,6 @@ struct ARMCore {
|
|||||||
void ARMInit(struct ARMCore* cpu);
|
void ARMInit(struct ARMCore* cpu);
|
||||||
void ARMAssociateMemory(struct ARMCore* cpu, struct ARMMemory* memory);
|
void ARMAssociateMemory(struct ARMCore* cpu, struct ARMMemory* memory);
|
||||||
|
|
||||||
inline void ARMCycle(struct ARMCore* cpu);
|
void ARMStep(struct ARMCore* cpu);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user