VSC doesn't all the casts
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@544
This commit is contained in:
parent
f768cce587
commit
7e0be98e8c
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ static void counter_latch(Bitu counter) {
|
|||
/* Fill the read_latch of the selected counter with current count */
|
||||
PIT_Block * p=&pit[counter];
|
||||
|
||||
Bit64u micro=PIC_MicroCount();
|
||||
Bit64s micro=PIC_MicroCount();
|
||||
micro-=p->start;
|
||||
micro%=p->micro;
|
||||
Bit16u ticks=(Bit16u)(((float)micro/(float)p->micro)*(float)p->cntr);
|
||||
|
|
Loading…
Add table
Reference in a new issue