all repos — mgba @ 1e16d9a4f791d7977a809aeb758bffcba9f985c4

mGBA Game Boy Advance Emulator

DS: Hook up generic core RTC
Vicki Pfau vi@endrift.com
Sat, 08 Aug 2020 21:32:08 -0700
commit

1e16d9a4f791d7977a809aeb758bffcba9f985c4

parent

1a2831200c5e28c408c75bbbd4c14a28801c8216

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

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

@@ -95,6 +95,8 @@ ARMSetComponents(arm7, &ds->d, CPU_COMPONENT_MAX, dscore->components);

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);