Removing weird GPU masking. Fixes a lot of bad shader loads.

This commit is contained in:
Ben Vanik 2015-02-13 10:14:28 -08:00
parent 4915837c35
commit de5bad5fb2
1 changed files with 2 additions and 1 deletions

View File

@ -238,7 +238,8 @@ inline uint32_t GpuToCpu(uint32_t base, uint32_t p) {
// Some AMD docs say relative to base ptr, some say just this.
// Some games use some crazy shift magic, but it seems to nop.
uint32_t upper = 0;//base & 0xFF000000;
uint32_t lower = p & 0x01FFFFFF;
//uint32_t lower = p & 0x01FFFFFF;
uint32_t lower = p;
return upper + lower;// -(((base >> 20) + 0x200) & 0x1000);
}