fix ips patch, thanks RDonch
This commit is contained in:
parent
a845b822bc
commit
107636301b
|
@ -140,7 +140,7 @@ public:
|
||||||
EMUFILE_MEMORY(void* buf, s32 size) : vec(new std::vector<u8>()), ownvec(true), pos(0), len(size) {
|
EMUFILE_MEMORY(void* buf, s32 size) : vec(new std::vector<u8>()), ownvec(true), pos(0), len(size) {
|
||||||
vec->resize(size);
|
vec->resize(size);
|
||||||
if(size != 0)
|
if(size != 0)
|
||||||
memcpy(&vec[0],buf,size);
|
memcpy(&vec->front(),buf,size);
|
||||||
}
|
}
|
||||||
|
|
||||||
~EMUFILE_MEMORY() {
|
~EMUFILE_MEMORY() {
|
||||||
|
|
Loading…
Reference in New Issue