mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 21:58:48 +00:00
Video backends: mass-replace "xfregs" with "xfmem".
This commit is contained in:
parent
8f5342c442
commit
1357277f40
24 changed files with 179 additions and 178 deletions
|
@ -504,13 +504,13 @@ void Renderer::RecordVideoMemory()
|
|||
{
|
||||
u32 *bpMem = (u32*)&bpmem;
|
||||
u32 cpMem[256];
|
||||
u32 *xfMem = (u32*)&xfregs;
|
||||
u32 *xfRegs = (u32*)&xfregs + 0x1000;
|
||||
u32 *xfMem = (u32*)&xfmem;
|
||||
u32 *xfRegs = (u32*)&xfmem + 0x1000;
|
||||
|
||||
memset(cpMem, 0, 256 * 4);
|
||||
FillCPMemoryArray(cpMem);
|
||||
|
||||
FifoRecorder::GetInstance().SetVideoMemory(bpMem, cpMem, xfMem, xfRegs, sizeof(XFRegisters) / 4);
|
||||
FifoRecorder::GetInstance().SetVideoMemory(bpMem, cpMem, xfMem, xfRegs, sizeof(XFMemory) / 4);
|
||||
}
|
||||
|
||||
void Renderer::Swap(u32 xfbAddr, u32 fbWidth, u32 fbHeight, const EFBRectangle& rc, float Gamma)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue