mirror of https://github.com/PCSX2/pcsx2.git
Minor RTC day fix. Still getting times an hour off, but apparently not the case for everyone.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2871 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
86546338ea
commit
fa9953d461
|
@ -516,7 +516,7 @@ void cdvdReset()
|
|||
cdvd.RTC.second = (u8)curtime.GetSecond();
|
||||
cdvd.RTC.minute = (u8)curtime.GetMinute();
|
||||
cdvd.RTC.hour = (u8)(curtime.GetHour(wxDateTime::GMT0)+1) % 24;
|
||||
cdvd.RTC.day = (u8)curtime.GetDay();
|
||||
cdvd.RTC.day = (u8)curtime.GetDay(wxDateTime::GMT0);
|
||||
cdvd.RTC.month = (u8)curtime.GetMonth(wxDateTime::GMT0) + 1; // WX returns Jan as "0"
|
||||
cdvd.RTC.year = (u8)(curtime.GetYear(wxDateTime::GMT0) - 2000);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue