Joshua Ashton
e037d24017
[util] Default initialize BitMask to 0
...
Found via an MSVC warning, may not fix anything, but good to do anyway.
2022-11-17 17:38:46 +01:00
Joshua Ashton
287412f746
[util] Cast _tzcnt_u64 to uint32_t
...
MSVC has _tzcnt_u64 return a uint64_t, which obviously, it can never return a number that big.
2022-11-17 17:38:46 +01:00
Blisto91
ad3c316d0c
[util] Set Black Mesa customVendorId to Nvidia
2022-11-16 11:30:40 +01:00
Robin Kertels
785bc9738f
[util] Disable DC Single Use Mode for Cardfight!! Vanguard Dear Days
2022-11-15 16:55:38 +01:00
Blisto91
bc08cac220
[util] Enable apitraceMode for Sonic & All-Stars Racing Transformed
2022-11-09 19:22:14 +01:00
Blisto91
145c1ce127
[util] Limit fps to 60 for some WayForward games
2022-11-06 15:32:28 +01:00
Vlad
40a4908a2a
Support for MW:R H1-Mod
2022-11-05 16:07:16 +01:00
Blisto91
e1eec9b359
[util] Set Fallout 3 to Nvidia vendor id
2022-11-05 16:07:04 +01:00
Robin Kertels
892f676605
[util] Disable direct buffer mapping for Dragon Age Origins
2022-11-02 16:12:28 +01:00
Adam Jereczek
0462454d2b
Fix for saving vertex shader constants with a StateBlock
...
Co-authored-by: aroztkow <aneta.roztkowska@intel.com>
2022-10-31 18:16:15 +00:00
Winter Snowfall
f84f992d44
[util] Also enable workaround for the "mod load exe" of ToEE
2022-10-25 03:45:53 +02:00
Joshua Ashton
3b90f5a77f
[util] Enable apitrace mode for Hammer World Editor
2022-10-15 17:21:29 +01:00
Vinjul1704
038ed23a5d
[util] Force SM1 for the Escape from Tarkov launcher
2022-10-06 21:32:19 +02:00
Joshua Ashton
fa45e5838e
[util] Fix tzcnt on ARM64 + Clang
...
This needed brackets around this conditional.
2022-10-05 19:01:05 +01:00
Blisto91
f8bd19f210
[util] Cap Sonic Adventure 2 to 60 fps
2022-09-30 19:14:59 -02:30
Robin Kertels
5c22e2fbda
[util] Enable GTA IV config for Episodes from Liberty City
2022-09-19 15:11:01 +01:00
Robin Kertels
c759fb45aa
[util] Disable DF support for pretty mirrors in GTA IV
2022-09-19 15:11:01 +01:00
Philip Rebohle
0bb0c1e646
[util] Enable ignoreGraphicsBarriers for FFXV
...
Massively improves performance when VXAO is enabled.
2022-09-19 15:43:45 +02:00
xpander69
07094ac4f9
[util] Remove fps cap from Warhammer Online
...
This is a bit embarrassing. Added this config few days ago to counter the animation breakages, but now Return of Reckoning devs patched the executable on their side to cap the framerate by default. So the workaround is not needed anymore.
2022-09-16 21:32:49 +01:00
Philip Rebohle
3543673c5c
[util] Add helper to compute display refresh related stuff
2022-09-16 12:49:42 +02:00
Philip Rebohle
e019edc8c3
[util] Add helper to get time point from raw counter value
2022-09-16 12:49:42 +02:00
Philip Rebohle
c1ab09a048
[util] Move platform-specific sleep code to dedicated helper class
2022-09-16 12:49:42 +02:00
Joshua Ashton
68c528d345
[util] Implement bitmask iterator on non-x86 platforms
2022-09-13 20:11:17 +01:00
Joshua Ashton
2218462ff2
[util] Implement spin on ARM64
2022-09-13 20:11:17 +01:00
Joshua Ashton
57cee691b3
[util] Implement replaceNaN for non-x86 platforms
2022-09-13 20:11:17 +01:00
Joshua Ashton
2d8e14fcf4
[util] Implement bcmpeq for non-x86 platforms
2022-09-13 20:11:17 +01:00
Joshua Ashton
c3093b546e
[util] Implement tzcnt for non-x86 platforms
2022-09-13 20:11:17 +01:00
Joshua Ashton
466026632d
[util] Only include x86 intrinsics headers on x86
2022-09-13 20:11:17 +01:00
Joshua Ashton
736f91fad1
[util] Add macro to determine CPU arch
2022-09-13 20:11:17 +01:00
Riesi
26c8f46b6b
[util] Limit King Of Fighters XIII to 60 FPS
...
Game speed is tied to FPS
fixes #2647
2022-09-12 18:53:42 +02:00
Blisto91
e05e063df0
[util] Enable memoryTrackTest for SiN Episodes Emergence
2022-09-12 18:37:30 +02:00
Joshua Ashton
935541bcb0
[util] Make math types have implicit copy assignments
...
We define implicit copy constructors, should also define implicit copy assignments.
2022-09-10 21:46:07 +00:00
Philip Rebohle
ccfb986e72
[dxbc] Rework TGSM workaround
2022-09-10 14:27:13 +02:00
xpander69
2ec25f588f
Cap Warhammer Online to 100 FPS
...
Animations break with 100+ FPS. Engine Limitation. WAR-64.exe is affected by this. WAR.exe is capped to 100 by default.
2022-09-10 13:02:47 +02:00
Robin Kertels
2b16134b64
[util] Enable d3d9.memoryTrackTest for The Ship
2022-09-07 21:05:48 +02:00
Philip Rebohle
11ef172c79
[util] Add stubs for DuplicateHandle and GetCurrentProcess
2022-09-02 14:25:12 +02:00
Joshua Ashton
b05ae33273
[util] Return null if HMODULE is nullptr in GetProcAddress compat
...
dlsym with NULL will try to find the symbol from anything currently
loaded.
2022-09-01 04:37:43 +02:00
WinterSnowfall
3e0031cefe
[util] Add a maxAvailableMemory limit for Heroes of Annihilated Empires
2022-08-30 13:21:29 +02:00
Joshua Ashton
f6fcbb7127
[util] Rename CloseLibrary to FreeLibrary in win32 compat headers
...
Typo...
2022-08-27 19:32:03 +02:00
Blisto91
8f24093864
[util] cap MGS V Ground Zeroes vram at 4095
2022-08-26 03:52:02 +02:00
Joshua Ashton
9610e29a65
[util] Implement get_frequency + get_counter on non-Windows platforms
2022-08-21 22:24:06 +02:00
Joshua Ashton
8921f62539
[util] Rename getFrequency, getCounter -> get_frequency, get_counter
...
To be consistent with STL naming conventions
2022-08-21 22:24:06 +02:00
Joshie
1c1dba4624
[util] Implement thread set_priority on non-Windows platforms
2022-08-21 22:17:33 +02:00
Joshua Ashton
ba8868be24
[util] Add win32 compat header
...
Header of misc. stubs and re-implementations.
2022-08-21 21:40:55 +02:00
Joshua Ashton
9509ec1144
[util] Define platform path_string type
2022-08-21 21:28:04 +02:00
Joshua Ashton
5c2a748d96
[util] Rename always_inline to force_inline
...
This conflicts with other libraries using the always_inline attribute in GCC as it defines it with the same name.
2022-08-21 21:25:54 +02:00
Philip Rebohle
1c35fbb33c
[util] Fix strlcpy compiler warning
2022-08-21 01:48:29 +01:00
Kassin Dornelles
f80347d9a9
[util] Remove RE:REV2 and RE5 workarounds
...
There's no real impact, it doesn't fix stuttering (for non-GPL drivers) and since GPL got merged this is not needed anymore
2022-08-21 01:52:39 +02:00
Joshua Ashton
af802fbff8
[util] Delete util_monitor
...
No longer used, replaced by new wsi interface
2022-08-20 20:27:07 +02:00
Philip Rebohle
a695644fea
[d3d9] Remove alphaTestWiggleRoom option
2022-08-18 00:10:39 +02:00