sync emufiles between emus

This commit is contained in:
zeromus 2011-03-20 18:33:41 +00:00
parent 80fd38374f
commit 143217af2c
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,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() {