mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 10:10:12 +01:00
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:
1 parent
4bee22a4cd
commit
4dec10976d
2 files changed
+28
-14
No files matched your search
@@ -201,3 +201,31 @@ void* SpatialArrayReserve::Reserve( uint size, uptr base, uptr 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;
|
||||
}
|
||||
Reference in new issue
Block a user