newHostVM branch: (now boots games!)

* EE and IOP recompilers are using the new RecompiledCodeReserve class.
 * PS2 main memory should typically be located at 0x20000000 (code still need some cleanups)

VU0/VU1 recompilers will be implemented soon.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3959 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine committed 2010-10-22 19:47:02 +00:00
1 parent 01541f2c92
commit bed33749b5
10 files changed
+99 -38

No files matched your search

+4 -3
View File
@@ -582,7 +582,7 @@ protected:
void OnPageFaultEvent( const PageFaultInfo& info, bool& handled );
};
static mmap_PageFaultHandler mmap_faultHandler;
static mmap_PageFaultHandler* mmap_faultHandler = NULL;
EEVM_MemoryAllocMess* eeMem = NULL;
@@ -596,12 +596,13 @@ void memAlloc()
if( eeMem == NULL)
throw Exception::OutOfMemory( L"memAlloc > failed to allocate PS2's base ram/rom/scratchpad." );
Source_PageFault.Add( mmap_faultHandler );
pxAssume(Source_PageFault);
mmap_faultHandler = new mmap_PageFaultHandler();
}
void memShutdown()
{
Source_PageFault.Remove( mmap_faultHandler );
safe_delete(mmap_faultHandler);
vtlb_free( eeMem, sizeof(*eeMem) );
eeMem = NULL;