Mercurial > mm7
diff Render.cpp @ 1631:8094f1706b1f
operator new() -> malloc
author | Nomad |
---|---|
date | Tue, 10 Sep 2013 21:17:00 +0200 |
parents | cff02d7d3460 |
children | 384a6b9d1333 |
line wrap: on
line diff
--- a/Render.cpp Tue Sep 10 21:08:43 2013 +0200 +++ b/Render.cpp Tue Sep 10 21:17:00 2013 +0200 @@ -811,7 +811,7 @@ v10 = strlen(lpDeviceDesc); a6->pInfo[v8].pDescription = new char[v10 + 1]; strcpy(a6->pInfo[v8].pDescription, lpDeviceDesc); - a6->pInfo[v8].pGUID = (GUID *)operator new(0x10u); + a6->pInfo[v8].pGUID = new GUID; memcpy(a6->pInfo[v8].pGUID, lpGUID, 0x10u); v11 = strlen(a6->ptr_4->pDriverName); a6->pInfo[v8].pDriverName = new char[v11 + 1]; @@ -3310,7 +3310,7 @@ { pTargetSurface = 0; ptr_400E8 = 0; - v20 = (int *)operator new(0x96020u); + v20 = (int *)malloc(0x96020u); ptr_400E8 = v20; if ( !v20 || (memset(&pDesc, 0, 0x7Cu), @@ -3384,7 +3384,7 @@ CreateZBuffer(); if ( bUserDirect3D ) { - /*v3 = operator new(0x148u); + /*v3 = malloc(0x148u); thisa = (RenderD3D *)v3; v29 = 0; if ( v3 )