Fix reversed hour and minute in int 21 ah=2c.
This commit is contained in:
parent
ab936a63ba
commit
0c391fe32f
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue