mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-25 23:37:11 +02:00
misc: chore: Fix object creation in Gpu project
This commit is contained in:
parent
4e47c86f90
commit
929a16dd26
18 changed files with 231 additions and 231 deletions
|
@ -245,7 +245,7 @@ namespace Ryujinx.Graphics.Gpu.Engine.Dma
|
|||
int srcStride = (int)_state.State.PitchIn;
|
||||
int dstStride = (int)_state.State.PitchOut;
|
||||
|
||||
OffsetCalculator srcCalculator = new OffsetCalculator(
|
||||
OffsetCalculator srcCalculator = new(
|
||||
src.Width,
|
||||
src.Height,
|
||||
srcStride,
|
||||
|
@ -254,7 +254,7 @@ namespace Ryujinx.Graphics.Gpu.Engine.Dma
|
|||
src.MemoryLayout.UnpackGobBlocksInZ(),
|
||||
srcBpp);
|
||||
|
||||
OffsetCalculator dstCalculator = new OffsetCalculator(
|
||||
OffsetCalculator dstCalculator = new(
|
||||
dst.Width,
|
||||
dst.Height,
|
||||
dstStride,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue