D3D, enables the EFBCopyDisable option.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4251 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
f46aab0d3f
commit
5ffb48c33b
|
@ -207,7 +207,14 @@ void SetColorMask(const BPCmd &bp)
|
||||||
|
|
||||||
void CopyEFB(const BPCmd &bp, const EFBRectangle &rc, const u32 &address, const bool &fromZBuffer, const bool &isIntensityFmt, const u32 ©fmt, const int &scaleByHalf)
|
void CopyEFB(const BPCmd &bp, const EFBRectangle &rc, const u32 &address, const bool &fromZBuffer, const bool &isIntensityFmt, const u32 ©fmt, const int &scaleByHalf)
|
||||||
{
|
{
|
||||||
|
if (!g_Config.bEFBCopyDisable)
|
||||||
|
{
|
||||||
|
//if (g_Config.bCopyEFBToRAM)
|
||||||
|
// To RAM, not implemented yet
|
||||||
|
//TextureConverter::EncodeToRam(address, fromZBuffer, isIntensityFmt, copyfmt, scaleByHalf, rc);
|
||||||
|
//else // To D3D Texture
|
||||||
TextureCache::CopyRenderTargetToTexture(address, fromZBuffer, isIntensityFmt, copyfmt, scaleByHalf, rc);
|
TextureCache::CopyRenderTargetToTexture(address, fromZBuffer, isIntensityFmt, copyfmt, scaleByHalf, rc);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void RenderToXFB(const BPCmd &bp, const EFBRectangle &rc, const float &yScale, const float &xfbLines, u32 xfbAddr, const u32 &dstWidth, const u32 &dstHeight)
|
void RenderToXFB(const BPCmd &bp, const EFBRectangle &rc, const float &yScale, const float &xfbLines, u32 xfbAddr, const u32 &dstWidth, const u32 &dstHeight)
|
||||||
|
|
Loading…
Reference in New Issue