Fix broken year handling.

svn path=/trunk/; revision=13402
This commit is contained in:
Mike Nordell 2005-02-04 03:21:46 +00:00
parent 14986414b9
commit f09c1928ae

View file

@ -55,7 +55,7 @@ PcRTCGetCurrentDateTime(PU32 Year, PU32 Month, PU32 Day, PU32 Hour, PU32 Minute,
if (NULL != Year)
{
*Year = 100 * BCD_INT(Regs.b.cl) + BCD_INT(Regs.b.ch);
*Year = 100 * BCD_INT(Regs.b.ch) + BCD_INT(Regs.b.cl);
}
if (NULL != Month)
{