Fixed compilation errors

Implemented vm::ptr & vm::ref
This commit is contained in:
DHrpcs3 2014-08-01 19:27:48 +03:00
parent cd33be1491
commit 7411012db9
7 changed files with 523 additions and 65 deletions

44
rpcs3/Emu/Memory/vm.cpp Normal file
View file

@ -0,0 +1,44 @@
#include "stdafx.h"
namespace vm
{
//TODO
bool check_addr(u32 addr)
{
return false;
}
bool map(u32 addr, u32 size, u32 flags)
{
return false;
}
bool unmap(u32 addr, u32 size, u32 flags)
{
return false;
}
u32 alloc(u32 size)
{
return 0;
}
void unalloc(u32 addr)
{
}
u32 read32(u32 addr)
{
return 0;
}
bool read32(u32 addr, u32& value)
{
return false;
}
bool write32(u32 addr, u32 value)
{
return false;
}
}