all repos — mgba @ b913419069b360ac1b2a51ef836e9a44c75bf966

mGBA Game Boy Advance Emulator

Core: Expose timing
Vicki Pfau vi@endrift.com
Sun, 14 Oct 2018 11:25:02 -0700
commit

b913419069b360ac1b2a51ef836e9a44c75bf966

parent

0dc7da9a74cb6821a579ef5bba6a928937cfe0a3

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

jump to
M include/mgba/core/core.hinclude/mgba/core/core.h

@@ -44,6 +44,7 @@ struct mVideoLogContext;

struct mCore { void* cpu; void* board; + struct mTiming* timing; struct mDebugger* debugger; struct mDebuggerSymbols* symbolTable;
M src/gb/core.csrc/gb/core.c

@@ -99,6 +99,7 @@ return false;

} core->cpu = cpu; core->board = gb; + core->timing = &gb->timing; gbcore->overrides = NULL; gbcore->debuggerPlatform = NULL; gbcore->cheatDevice = NULL;
M src/gba/core.csrc/gba/core.c

@@ -148,6 +148,7 @@ return false;

} core->cpu = cpu; core->board = gba; + core->timing = &gba->timing; core->debugger = NULL; core->symbolTable = NULL; gbacore->overrides = NULL;