mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
cellGcmSys changes and minor fixes
This commit is contained in:
parent
b7be8b19ef
commit
bb1749d3da
8 changed files with 78 additions and 53 deletions
|
|
@ -1026,10 +1026,10 @@ int cellRescGcmSurface2RescSrc(mem_ptr_t<CellGcmSurface> gcmSurface, mem_ptr_t<C
|
|||
}
|
||||
|
||||
rescSrc->format = textureFormat;
|
||||
rescSrc->pitch = re(gcmSurface->colorPitch[0]);
|
||||
rescSrc->width = re(gcmSurface->width) * xW;
|
||||
rescSrc->height = re(gcmSurface->height) * xH;
|
||||
rescSrc->offset = re(gcmSurface->colorOffset[0]);
|
||||
rescSrc->pitch = gcmSurface->colorPitch[0];
|
||||
rescSrc->width = gcmSurface->width * xW;
|
||||
rescSrc->height = gcmSurface->height * xH;
|
||||
rescSrc->offset = gcmSurface->colorOffset[0];
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue