IMalloc16_Constructor: moved ICOM_VTBL(This) where it belongs.
This commit is contained in:
parent
2e48a2cc22
commit
318094ec3e
|
@ -221,8 +221,8 @@ IMalloc16_Constructor() {
|
||||||
VTENT(DidAlloc);
|
VTENT(DidAlloc);
|
||||||
VTENT(HeapMinimize);
|
VTENT(HeapMinimize);
|
||||||
#undef VTENT
|
#undef VTENT
|
||||||
ICOM_VTBL(This) = (ICOM_VTABLE(IMalloc16)*)SEGPTR_GET(msegvt16);
|
|
||||||
}
|
}
|
||||||
|
ICOM_VTBL(This) = (ICOM_VTABLE(IMalloc16)*)SEGPTR_GET(msegvt16);
|
||||||
This->ref = 1;
|
This->ref = 1;
|
||||||
/* FIXME: implement multiple heaps */
|
/* FIXME: implement multiple heaps */
|
||||||
This->heap = GlobalAlloc16(GMEM_MOVEABLE,64000);
|
This->heap = GlobalAlloc16(GMEM_MOVEABLE,64000);
|
||||||
|
|
Loading…
Reference in New Issue