Quiet FlushInstructionCache for non-NT systems where it does nothing
per MSDN.
This commit is contained in:
parent
aad36bcd59
commit
f80cf43270
|
@ -135,6 +135,7 @@ BOOL WINAPI QueryPerformanceFrequency(PLARGE_INTEGER frequency)
|
|||
* FlushInstructionCache (KERNEL32.@)
|
||||
*/
|
||||
BOOL WINAPI FlushInstructionCache(DWORD x,DWORD y,DWORD z) {
|
||||
if (GetVersion() & 0x80000000) return TRUE; /* not NT, always TRUE */
|
||||
FIXME_(debug)("(0x%08lx,0x%08lx,0x%08lx): stub\n",x,y,z);
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue