/[pcsx2_0.9.7]/trunk/pcsx2/x86/ix86-32/recVTLB.cpp
ViewVC logotype

Diff of /trunk/pcsx2/x86/ix86-32/recVTLB.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/pcsx2/x86/ix86-32/recVTLB.cpp	2010/12/23 11:48:33	279
+++ trunk/pcsx2/x86/ix86-32/recVTLB.cpp	2010/12/23 12:02:12	280
@@ -287,7 +287,7 @@
 	hasBeenCalled = true;
 
 	// In case init gets called multiple times:
-	HostSys::MemProtectStatic( m_IndirectDispatchers, Protect_ReadWrite, false );
+	HostSys::MemProtectStatic( m_IndirectDispatchers, PageAccess_ReadWrite() );
 
 	// clear the buffer to 0xcc (easier debugging).
 	memset_8<0xcc,0x1000>( m_IndirectDispatchers );
@@ -309,7 +309,7 @@
 		}
 	}
 
-	HostSys::MemProtectStatic( m_IndirectDispatchers, Protect_ReadOnly, true );
+	HostSys::MemProtectStatic( m_IndirectDispatchers, PageAccess_ExecOnly() );
 }
 
 //////////////////////////////////////////////////////////////////////////////////////////

 

  ViewVC Help
Powered by ViewVC 1.1.22