mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
VideoCommon: Merge EFB pokes
This commit is contained in:
parent
695a72c24c
commit
c7bae5ad11
4 changed files with 47 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue