win-capture: Fix lookup order for d3d9 patch

It's supposed to look for patch segments in ascending order, from the
smallest offset to the largest offset.  Patch type/comparison is
identical to the one it's being swapped with, so only the offsets need
to be swapped.
master
jp9000 2016-08-06 12:21:09 -07:00
parent 92f7ff8221
commit 183ee11e24
1 changed files with 1 additions and 1 deletions

View File

@ -132,8 +132,8 @@ static const uintptr_t patch_offset[NUM_VERS] = {
0x8F00F, //win8.1 - 6.3.9600.17085
0x8FBB1, //win8.1 - 6.3.9600.16384
0x90264, //win8.1 - 6.3.9600.17415
0x90C57, //win10 - 10.0.10586.0
0x90C3A, //win10 - 10.0.10586.494
0x90C57, //win10 - 10.0.10586.0
0x166A08 //win8 - 6.2.9200.16384
};