mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
BPStructs: Remove another function wrapper
This commit is contained in:
@ -39,11 +39,6 @@ void BPInit()
|
|||||||
bpmem.bpMask = 0xFFFFFF;
|
bpmem.bpMask = 0xFFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
void RenderToXFB(const BPCmd &bp, const EFBRectangle &rc, float yScale, float xfbLines, u32 xfbAddr, const u32 dstWidth, const u32 dstHeight, float gamma)
|
|
||||||
{
|
|
||||||
Renderer::RenderToXFB(xfbAddr, dstWidth, dstHeight, rc, gamma);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void BPWritten(const BPCmd& bp)
|
static void BPWritten(const BPCmd& bp)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
@ -245,10 +240,10 @@ static void BPWritten(const BPCmd& bp)
|
|||||||
xfbLines = MAX_XFB_HEIGHT;
|
xfbLines = MAX_XFB_HEIGHT;
|
||||||
}
|
}
|
||||||
|
|
||||||
RenderToXFB(bp, rc, yScale, xfbLines,
|
Renderer::RenderToXFB(bpmem.copyTexDest << 5,
|
||||||
bpmem.copyTexDest << 5,
|
|
||||||
bpmem.copyMipMapStrideChannels << 4,
|
bpmem.copyMipMapStrideChannels << 4,
|
||||||
(u32)xfbLines,
|
(u32)xfbLines,
|
||||||
|
rc,
|
||||||
s_gammaLUT[PE_copy.gamma]);
|
s_gammaLUT[PE_copy.gamma]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user