Core: Expose timing
Vicki Pfau vi@endrift.com
Sun, 14 Oct 2018 11:25:02 -0700
3 files changed,
3 insertions(+),
0 deletions(-)
M
include/mgba/core/core.h
→
include/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.c
→
src/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.c
→
src/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;