mirror of
https://github.com/zeldaret/ss
synced 2026-05-24 23:21:41 -04:00
dc221b4795
* EGG: Archive, DvdFile, DvdRipper * start eggStream * FrmHeap and AssertHeap OK * progress on EggController * port in WPAD stuff * update WPAD/WUD/KPAD/SC symbols * eggController OK * bytematch more CoreController virtual funcs * eggDecomp/eggStreamDecomp Ok * eggDvdRipper OK * EGG gfx splits * Finished Splitting EGG * create egg Files * eggDecomp.h -> eggStreamDecomp.h * Revert some format changes
27 lines
708 B
C++
27 lines
708 B
C++
#ifndef EGG_XFB_MANAGER_H
|
|
#define EGG_XFB_MANAGER_H
|
|
|
|
#include "egg/core/eggXfb.h"
|
|
|
|
#include <common.h>
|
|
|
|
namespace EGG {
|
|
|
|
class XfbManager {
|
|
public:
|
|
/* 0x0 */ Xfb *mNextXfb; // next xfb to process?
|
|
/* 0x4 */ Xfb *mToCopyXfb; // current xfb to use in copyEFB
|
|
/* 0x8 */ Xfb *mToShowXfb; // current xfb to use in setNextFrameBuffer
|
|
/* 0xC */ u8 mNumXfbs; // Total number of Xfbs ever attached
|
|
/* 0xD */ u8 mNumXfbs_Copy; // Unsure of purpose yet, but showing wont proceed until its under 3
|
|
public:
|
|
bool isRegisterd(Xfb &xfb) const; // yes. this is correct spelling
|
|
bool attach(Xfb *xfb);
|
|
void copyEFB(bool);
|
|
void setNextFrameBuffer();
|
|
};
|
|
|
|
} // namespace EGG
|
|
|
|
#endif
|