mirror of https://github.com/mgba-emu/mgba.git
DS: Hook up generic core RTC
This commit is contained in:
parent
1a2831200c
commit
1e16d9a4f7
|
@ -95,6 +95,8 @@ static bool _DSCoreInit(struct mCore* core) {
|
||||||
ARMSetComponents(arm9, &ds->d, CPU_COMPONENT_MAX, dscore->components);
|
ARMSetComponents(arm9, &ds->d, CPU_COMPONENT_MAX, dscore->components);
|
||||||
ARMInit(arm7);
|
ARMInit(arm7);
|
||||||
ARMInit(arm9);
|
ARMInit(arm9);
|
||||||
|
mRTCGenericSourceInit(&core->rtc, core);
|
||||||
|
ds->rtcSource = &core->rtc.d;
|
||||||
|
|
||||||
DSVideoSoftwareRendererCreate(&dscore->renderer);
|
DSVideoSoftwareRendererCreate(&dscore->renderer);
|
||||||
DSGXSoftwareRendererCreate(&dscore->gxRenderer);
|
DSGXSoftwareRendererCreate(&dscore->gxRenderer);
|
||||||
|
|
Loading…
Reference in New Issue