mirror of https://github.com/PCSX2/pcsx2.git
common: fix compilation
This commit is contained in:
parent
4feeaac7d1
commit
a2a9b6252a
|
@ -235,7 +235,7 @@ namespace HostSys
|
||||||
|
|
||||||
extern void MemProtect( void* baseaddr, size_t size, const PageProtectionMode& mode );
|
extern void MemProtect( void* baseaddr, size_t size, const PageProtectionMode& mode );
|
||||||
|
|
||||||
extern void Munmap( void* base, size_t size ) { Munmap( (uptr)base, size); }
|
extern void Munmap( void* base, size_t size );
|
||||||
|
|
||||||
template< uint size >
|
template< uint size >
|
||||||
void MemProtectStatic( u8 (&arr)[size], const PageProtectionMode& mode )
|
void MemProtectStatic( u8 (&arr)[size], const PageProtectionMode& mode )
|
||||||
|
|
|
@ -500,3 +500,11 @@ wxString PageProtectionMode::ToString() const
|
||||||
|
|
||||||
return modeStr;
|
return modeStr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
// Common HostSys implementation
|
||||||
|
// --------------------------------------------------------------------------------------
|
||||||
|
void HostSys::Munmap( void* base, size_t size )
|
||||||
|
{
|
||||||
|
Munmap( (uptr)base, size);
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue