From: Lioncash Date: Sun, 26 Oct 2014 23:21:26 +0000 (-0400) Subject: os: Fix switch fallthrough in osGetTime. X-Git-Tag: v0.2.0~81^2 X-Git-Url: https://chaos.moe/g/?a=commitdiff_plain;h=567b1ae4f7a18aab3b9437d7062ddb895b227074;p=corbenik%2Fctrulib.git os: Fix switch fallthrough in osGetTime. --- diff --git a/libctru/source/os.c b/libctru/source/os.c index 84431bf..6274b34 100644 --- a/libctru/source/os.c +++ b/libctru/source/os.c @@ -36,8 +36,10 @@ u64 osGetTime() { switch(*__datetime_selector & 1) { case 0: dt = __datetime1; + break; case 1: dt = __datetime2; + break; } u64 offset = (svcGetSystemTick() - dt->update_tick) / TICKS_PER_MSEC;