/[pcsx2_0.9.7]/trunk/pcsx2/x86/newVif_UnpackSSE.cpp
ViewVC logotype

Diff of /trunk/pcsx2/x86/newVif_UnpackSSE.cpp

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

--- trunk/pcsx2/x86/newVif_UnpackSSE.cpp	2010/12/23 11:48:33	279
+++ trunk/pcsx2/x86/newVif_UnpackSSE.cpp	2010/12/23 12:02:12	280
@@ -295,7 +295,7 @@
 
 void VifUnpackSSE_Init()
 {
-	HostSys::MemProtectStatic(nVifUpkExec, Protect_ReadWrite, false);
+	HostSys::MemProtectStatic(nVifUpkExec, PageAccess_ReadWrite());
 	memset8<0xcc>( nVifUpkExec );
 
 	xSetPtr( nVifUpkExec );
@@ -306,5 +306,5 @@
 				nVifGen(a, b, c);
 			}}}
 
-	HostSys::MemProtectStatic(nVifUpkExec, Protect_ReadOnly, true);
+	HostSys::MemProtectStatic(nVifUpkExec, PageAccess_ExecOnly());
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22