mirror of https://github.com/mgba-emu/mgba.git
DS Core: Add callbacks
This commit is contained in:
parent
9b86abec09
commit
522b4c1298
|
@ -130,6 +130,8 @@ static size_t _DSCoreGetAudioBufferSize(struct mCore* core) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void _DSCoreSetCoreCallbacks(struct mCore* core, struct mCoreCallbacks* coreCallbacks) {
|
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) {
|
static void _DSCoreSetAVStream(struct mCore* core, struct mAVStream* stream) {
|
||||||
|
|
Loading…
Reference in New Issue