diff options
| author | hrydgard <hrydgard@gmail.com> | 2009-09-13 17:46:33 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2009-09-13 17:46:33 +0000 |
| commit | a7c70ddb6684aee4dfcbc7ce43f07447fac7761d (patch) | |
| tree | 86a9cf8ffb27cb03733dfa656ee2647d7f93fb22 /Source/Core/VideoCommon/Src/BPStructs.cpp | |
| parent | 5911abc60010d65d9ed9f18b7637d89cf8fe541b (diff) | |
D3D: Eliminate black borders, add 4:3 and 16:9 settings, and the widescreen hack. Unfortunately this temporarily breaks MSAA (in d3d only) until I have time to fix it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4263 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/BPStructs.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/BPStructs.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/BPStructs.cpp b/Source/Core/VideoCommon/Src/BPStructs.cpp index 8b817c0621..9c031f0a71 100644 --- a/Source/Core/VideoCommon/Src/BPStructs.cpp +++ b/Source/Core/VideoCommon/Src/BPStructs.cpp @@ -19,6 +19,7 @@ #include "Profiler.h" #include "Statistics.h" +#include "Render.h" #include "VideoCommon.h" #include "PixelShaderManager.h" #include "BPFunctions.h" @@ -40,6 +41,12 @@ void BPInit() bpmem.bpMask = 0xFFFFFF; } + +void RenderToXFB(const BPCmd &bp, const EFBRectangle &rc, float yScale, float xfbLines, u32 xfbAddr, const u32 dstWidth, const u32 dstHeight) +{ + Renderer::RenderToXFB(xfbAddr, dstWidth, dstHeight, rc); +} + void BPWritten(const BPCmd& bp) { /* |
