all repos — mgba @ 522b4c129802e8d6d296680ffc91f1667e7b85ed

mGBA Game Boy Advance Emulator

DS Core: Add callbacks
Vicki Pfau vi@endrift.com
Thu, 16 Feb 2017 02:35:24 -0800
commit

522b4c129802e8d6d296680ffc91f1667e7b85ed

parent

9b86abec09dc3f979b1e463fd42a76c9ce8f5273

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M src/ds/core.csrc/ds/core.c

@@ -130,6 +130,8 @@ return 2048;

} static void _DSCoreSetCoreCallbacks(struct mCore* core, struct mCoreCallbacks* coreCallbacks) { + struct DS* ds = core->board; + ds->coreCallbacks = coreCallbacks; } static void _DSCoreSetAVStream(struct mCore* core, struct mAVStream* stream) {