diff options
author | yenatch <yenatch@gmail.com> | 2018-06-30 17:50:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-30 17:50:33 -0400 |
commit | 2641f93ad084b1329b3f3b9f7c8c222445fc4832 (patch) | |
tree | fb048bbc8bb7257dbd8169e2442117da5d2b30d2 /home/time.asm | |
parent | 91f914718a263839daef24d44eda857bfc7cca95 (diff) | |
parent | da5125e1411f9599b883181c5ee6e31252d37ac8 (diff) |
Merge pull request #534 from Rangi42/master
[RTM] Fix triple newlines left over from removing address comments, and other improvements
Diffstat (limited to 'home/time.asm')
-rw-r--r-- | home/time.asm | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/home/time.asm b/home/time.asm index abac80e76..caf857a68 100644 --- a/home/time.asm +++ b/home/time.asm @@ -1,6 +1,5 @@ ; Functions relating to the timer interrupt and the real-time-clock. - AskTimer:: push af ld a, [hMobile] @@ -12,7 +11,6 @@ AskTimer:: pop af reti - LatchClock:: ; latch clock counter data ld a, 0 @@ -21,7 +19,6 @@ LatchClock:: ld [MBC3LatchClock], a ret - UpdateTime:: call GetClock call FixDays @@ -29,7 +26,6 @@ UpdateTime:: farcall GetTimeOfDay ret - GetClock:: ; store clock data in hRTCDayHi-hRTCSeconds @@ -70,7 +66,6 @@ GetClock:: call CloseSRAM ret - FixDays:: ; fix day count ; mod by 140 @@ -131,7 +126,6 @@ FixDays:: xor a ret - FixTime:: ; add ingame time (set at newgame) to current time ; day hr min sec @@ -202,8 +196,6 @@ InitTime:: farcall _InitTime ret - - PanicResetClock:: call .ClearhRTC call SetClock @@ -218,7 +210,6 @@ PanicResetClock:: ld [hRTCDayHi], a ret - SetClock:: ; set clock data from hram @@ -266,7 +257,6 @@ SetClock:: call CloseSRAM ; unlatch clock, disable clock r/w ret - ClearRTCStatus:: ; clear sRTCStatusFlags xor a |