Add patch 1713574: "timer precision fix" by wjp. Fixes vret problems under 64 bit hosts.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2868
This commit is contained in:
parent
8112ac82e8
commit
432c61d1fa
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ INLINE Bits PIC_MakeCycles(double amount) {
|
|||
}
|
||||
|
||||
INLINE double PIC_FullIndex(void) {
|
||||
return PIC_Ticks+PIC_TickIndex();
|
||||
return PIC_Ticks+(double)PIC_TickIndex();
|
||||
}
|
||||
|
||||
void PIC_ActivateIRQ(Bitu irq);
|
||||
|
|
Loading…
Add table
Reference in a new issue