mirror of https://github.com/PCSX2/pcsx2.git
newHostVM: Working on linux side now ... (WIP)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3976 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
4bee22a4cd
commit
4dec10976d
|
@ -201,3 +201,31 @@ void* SpatialArrayReserve::Reserve( uint size, uptr base, uptr upper_bounds )
|
||||||
{
|
{
|
||||||
return __parent::Reserve( size, base, upper_bounds );
|
return __parent::Reserve( size, base, upper_bounds );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SpatialArrayReserve::OnCommittedBlock( void* block )
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void SpatialArrayReserve::OnOutOfMemory( const Exception::OutOfMemory& ex, void* blockptr, bool& handled )
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// PageProtectionMode (implementations)
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
wxString PageProtectionMode::ToString() const
|
||||||
|
{
|
||||||
|
wxString modeStr;
|
||||||
|
|
||||||
|
if (m_read) modeStr += L"Read";
|
||||||
|
if (m_write) modeStr += L"Write";
|
||||||
|
if (m_exec) modeStr += L"Exec";
|
||||||
|
|
||||||
|
if (modeStr.IsEmpty()) return L"NoAccess";
|
||||||
|
if (modeStr.Length() <= 5) modeStr += L"Only";
|
||||||
|
|
||||||
|
return modeStr;
|
||||||
|
}
|
||||||
|
|
|
@ -82,17 +82,3 @@ void HostSys::MemProtect( void* baseaddr, size_t size, const PageProtectionMode&
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
wxString PageProtectionMode::ToString() const
|
|
||||||
{
|
|
||||||
wxString modeStr;
|
|
||||||
|
|
||||||
if (m_read) modeStr += L"Read";
|
|
||||||
if (m_write) modeStr += L"Write";
|
|
||||||
if (m_exec) modeStr += L"Exec";
|
|
||||||
|
|
||||||
if (modeStr.IsEmpty()) return L"NoAccess";
|
|
||||||
if (modeStr.Length() <= 5) modeStr += L"Only";
|
|
||||||
|
|
||||||
return modeStr;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue