mirror of
https://github.com/reactos/reactos.git
synced 2026-07-06 16:44:20 +08:00
Fix broken year handling.
svn path=/trunk/; revision=13402
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user