From 1e16d9a4f791d7977a809aeb758bffcba9f985c4 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sat, 8 Aug 2020 21:32:08 -0700 Subject: [PATCH] DS: Hook up generic core RTC --- src/ds/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ds/core.c b/src/ds/core.c index 4ae73e3d5..6b00a2092 100644 --- a/src/ds/core.c +++ b/src/ds/core.c @@ -95,6 +95,8 @@ static bool _DSCoreInit(struct mCore* core) { ARMSetComponents(arm9, &ds->d, CPU_COMPONENT_MAX, dscore->components); ARMInit(arm7); ARMInit(arm9); + mRTCGenericSourceInit(&core->rtc, core); + ds->rtcSource = &core->rtc.d; DSVideoSoftwareRendererCreate(&dscore->renderer); DSGXSoftwareRendererCreate(&dscore->gxRenderer);