From 878bd69a0e9e8b3cdb3b49778c7878ef34ac2c0d Mon Sep 17 00:00:00 2001 From: riccardom Date: Tue, 14 Apr 2009 15:57:57 +0000 Subject: [PATCH] ok, this really wants to be declared to be an ull (sorry 64 bit guys). --- desmume/src/rtc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/rtc.cpp b/desmume/src/rtc.cpp index 41c1d0746..a94d492af 100644 --- a/desmume/src/rtc.cpp +++ b/desmume/src/rtc.cpp @@ -79,7 +79,7 @@ struct movietime { struct movietime movie; int oldframeCounter; -u64 totalcycles=2904024960000;//noon +u64 totalcycles=2904024960000ULL;//noon int totalseconds; bool init=false; bool moviemode=false; @@ -369,4 +369,4 @@ void rtcWrite(u16 val) rtc._prevSIO = rtc._SIO; rtc._prevSCK = rtc._SCK; rtc._prevCS = rtc._CS; -} \ No newline at end of file +}