Fix reversed hour and minute in int 21 ah=2c.

This commit is contained in:
Lawson Whitney 2003-01-20 23:22:27 +00:00 committed by Alexandre Julliard
parent ab936a63ba
commit 0c391fe32f
1 changed files with 2 additions and 2 deletions

View File

@ -795,8 +795,8 @@ void WINAPI DOSVM_Int21Handler( CONTEXT86 *context )
{ {
SYSTEMTIME systime; SYSTEMTIME systime;
GetLocalTime( &systime ); GetLocalTime( &systime );
SET_CL( context, systime.wHour ); SET_CH( context, systime.wHour );
SET_CH( context, systime.wMinute ); SET_CL( context, systime.wMinute );
SET_DH( context, systime.wSecond ); SET_DH( context, systime.wSecond );
SET_DL( context, systime.wMilliseconds / 10 ); SET_DL( context, systime.wMilliseconds / 10 );
} }