fix ips patch, thanks RDonch

This commit is contained in:
qeed 2011-03-19 16:58:24 +00:00
parent a845b822bc
commit 107636301b
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ public:
EMUFILE_MEMORY(void* buf, s32 size) : vec(new std::vector<u8>()), ownvec(true), pos(0), len(size) {
vec->resize(size);
if(size != 0)
memcpy(&vec[0],buf,size);
memcpy(&vec->front(),buf,size);
}
~EMUFILE_MEMORY() {