/[pcsx2_0.9.7]/trunk/pcsx2/Interpreter.cpp
ViewVC logotype

Diff of /trunk/pcsx2/Interpreter.cpp

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

--- trunk/pcsx2/Interpreter.cpp	2010/12/23 11:48:33	279
+++ trunk/pcsx2/Interpreter.cpp	2010/12/23 12:02:12	280
@@ -359,11 +359,19 @@
 
 } } }		// end namespace R5900::Interpreter::OpcodeImpl
 
-////////////////////////////////////////////////////////
+
+// --------------------------------------------------------------------------------------
+//  R5900cpu/intCpu interface (implementations)
+// --------------------------------------------------------------------------------------
+
+static void intReserve()
+{
+	// fixme : detect cpu for use the optimize asm code
+}
 
 static void intAlloc()
 {
-	 // fixme : detect cpu for use the optimize asm code
+	// Nothing to do!
 }
 
 static void intReset()
@@ -419,19 +427,28 @@
 
 static void intThrowException( const BaseR5900Exception& ex )
 {
-	// No tricks needed; C++ stack unwnding shoud suffice for MSW and GCC alike.
+	// No tricks needed; C++ stack unwnding should suffice for MSW and GCC alike.
 	ex.Rethrow();
 }
 
 static void intThrowException( const BaseException& ex )
 {
-	// No tricks needed; C++ stack unwnding shoud suffice for MSW and GCC alike.
+	// No tricks needed; C++ stack unwnding should suffice for MSW and GCC alike.
 	ex.Rethrow();
 }
 
+static void intSetCacheReserve( uint reserveInMegs )
+{
+}
+
+static uint intGetCacheReserve()
+{
+	return 0;
+}
+
 R5900cpu intCpu =
 {
-	intAlloc,
+	intReserve,
 	intShutdown,
 
 	intReset,
@@ -442,4 +459,7 @@
 	intThrowException,
 	intThrowException,
 	intClear,
+
+	intGetCacheReserve,
+	intSetCacheReserve,
 };

 

  ViewVC Help
Powered by ViewVC 1.1.22