VideoCommon: Merge EFB pokes

This commit is contained in:
degasus
2015-05-01 18:58:11 +02:00
parent 695a72c24c
commit c7bae5ad11
4 changed files with 47 additions and 1 deletions

View File

@ -26,6 +26,12 @@
class PostProcessingShaderImplementation;
struct EfbPokeData
{
u16 x,y;
u32 data;
};
// TODO: Move these out of here.
extern int frameCount;
extern int OSDChoice;
@ -104,6 +110,7 @@ public:
static void RenderToXFB(u32 xfbAddr, const EFBRectangle& sourceRc, u32 fbWidth, u32 fbHeight, float Gamma = 1.0f);
virtual u32 AccessEFB(EFBAccessType type, u32 x, u32 y, u32 poke_data) = 0;
virtual void PokeEFB(EFBAccessType type, const std::vector<EfbPokeData>& data);
virtual u16 BBoxRead(int index) = 0;
virtual void BBoxWrite(int index, u16 value) = 0;