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:
1 parent
18ada7a0f5
commit
917a900ccb
6 files changed
+13
-4
No files matched your search
@@ -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
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user