# HG changeset patch # User arpi_esp # Date 987548677 0 # Node ID f776e51e531cbd90e526073245aa02d27df05ca3 # Parent 6811760f7729dd5252bbc9715350ccfa227424ef added MulDiv -> should fix Acelp.net audio diff -r 6811760f7729 -r f776e51e531c loader/win32.c --- a/loader/win32.c Tue Apr 17 23:03:45 2001 +0000 +++ b/loader/win32.c Tue Apr 17 23:04:37 2001 +0000 @@ -2354,6 +2354,20 @@ +LONG WINAPI expInterlockedExchange(long *dest, long l) +{ + long retval; + retval = *dest; + *dest = l; + return retval; +} + +INT WINAPI expMulDiv(int nNumber,int nNumerator,int nDenominator) +{ + return ((long long)nNumber * (long long)nNumerator) / nDenominator; +} + + @@ -2480,6 +2494,8 @@ FF(SetErrorMode, -1) FF(IsProcessorFeaturePresent, -1) FF(GetProcessAffinityMask, -1) +FF(InterlockedExchange, -1) +FF(MulDiv, -1) }; struct exports exp_msvcrt[]={