mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 05:53:05 +00:00
Fix broken year handling.
svn path=/trunk/; revision=13402
This commit is contained in:
parent
14986414b9
commit
f09c1928ae
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ PcRTCGetCurrentDateTime(PU32 Year, PU32 Month, PU32 Day, PU32 Hour, PU32 Minute,
|
||||||
|
|
||||||
if (NULL != Year)
|
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)
|
if (NULL != Month)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue