mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Display: Record bufw/fmt even when display is off.
These are returned by sceDisplayGetFrameBuf().
This commit is contained in:
parent
26e9acee4b
commit
958d7f0944
1 changed files with 3 additions and 5 deletions
|
@ -752,11 +752,9 @@ static u32 sceDisplaySetMode(int displayMode, int displayWidth, int displayHeigh
|
|||
// Some games (GTA) never call this during gameplay, so bad place to put a framerate counter.
|
||||
static u32 sceDisplaySetFramebuf(u32 topaddr, int linesize, int pixelformat, int sync) {
|
||||
FrameBufferState fbstate = {0};
|
||||
if (topaddr != 0) {
|
||||
fbstate.topaddr = topaddr;
|
||||
fbstate.pspFramebufFormat = (GEBufferFormat)pixelformat;
|
||||
fbstate.pspFramebufLinesize = linesize;
|
||||
}
|
||||
fbstate.topaddr = topaddr;
|
||||
fbstate.pspFramebufFormat = (GEBufferFormat)pixelformat;
|
||||
fbstate.pspFramebufLinesize = linesize;
|
||||
|
||||
hleEatCycles(290);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue