• Rémi Bernon's avatar
    wineboot: Compute and write the TSC frequency to registry ~Mhz. · f2371a8b
    Rémi Bernon authored
    In HKEY_LOCAL_MACHINE\\HARDWARE\\DESCRIPTION\\System\\CentralProcessor
    
    Some games such as Horizon Zero Dawn use this registry value to
    correlate values from rtdsc to real time.
    
    Returning the nominal/maximum cpu frequency here causes the game to run
    in slow motion as it may not match the tsc frequency of the processor.
    
    Based on patches from Arkadiusz Hiler and Joshua Ashton.
    f2371a8b
Name
Last commit
Last update
..
Makefile.in Loading commit data...
resource.h Loading commit data...
shutdown.c Loading commit data...
wineboot.c Loading commit data...
wineboot.man.in Loading commit data...
wineboot.manifest Loading commit data...
wineboot.rc Loading commit data...