Refactor gather-pipe address checking.

The implementation of IsOptimizableGatherPipeWrite is extremely simple
now, but it will get a bit more complicated with dynamic-bat.
This commit is contained in:
magumagu committed 2015-02-22 11:01:42 -08:00
1 parent 18ada7a0f5
commit 917a900ccb
6 files changed
+13 -4

No files matched your search

+8
View File
@@ -763,6 +763,14 @@ u32 IsOptimizableMMIOAccess(u32 address, u32 accessSize)
return translated;
}
bool IsOptimizableGatherPipeWrite(u32 address)
{
if (!UReg_MSR(MSR).DR)
return false;
return address == 0xCC008000;
}
// *********************************************************************************
// Warning: Test Area
//