Fixed 12 hour clock

This commit is contained in:
pagefault
2006-03-29 05:02:57 +00:00
parent 775713044a
commit e42f2bfbcb

View File

@@ -2736,6 +2736,9 @@ NEWSYM ClockOutput
; eax = hours
cmp byte[TwelveHourClock],1
jne .no12hour
; check to see if it's 12 PM
cmp eax,12
jbe .no12hour
sub eax,12
.no12hour
xor edx,edx