crosire / d3d8to9

A D3D8 pseudo-driver which converts API calls and bytecode shaders to equivalent D3D9 ones.
BSD 2-Clause "Simplified" License
911 stars 83 forks source link

Address cache #48

Closed elishacloud closed 6 years ago

elishacloud commented 7 years ago

Simplify cache by moving to unordered_map. This removes the for loops in the FindAddress() function and slightly simplifies the rest of the code.