VideoSoftware: Added Real XFB support.

Massivly increases the accuracy of VideoSoftware, if it's going to be slow, it
might as well be accurate.

 * Fixes flickering issues in games which double render to get Hardware AA, like the Peach's Castle tech demo.
 * Rouge Squadren 2's Cantina Intro doesn't flicker anymore, but it duplicates the top half of the screen onto the bottom.
 * Any games which need RealXFB support should now work in Video Software
This commit is contained in:
Scott Mansell
2013-08-20 23:51:39 +12:00
parent fa8a4cdbb5
commit d52e241cdf
6 changed files with 250 additions and 47 deletions

View File

@ -6,6 +6,7 @@
#define _RENDERER_H_
#include "CommonTypes.h"
#include "EfbInterface.h"
namespace SWRenderer
{
@ -16,8 +17,10 @@ namespace SWRenderer
void RenderText(const char* pstr, int left, int top, u32 color);
void DrawDebugText();
void UpdateColorTexture(EfbInterface::yuv422_packed *xfb);
void DrawTexture(u8 *texture, int width, int height);
void Swap(u32 fbWidth, u32 fbHeight);
void SwapBuffer();
}