hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.

Home Page:https://www.ppsspp.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Broken menus after using Break on Load

hrydgard opened this issue · comments

This only happens in D3D11.

To repro, just enable Debug/Break On Load on Windows and start some game.

The pause menu gets broken, as if we don't rebind some state properly.

image

I didn't see anything in the version which goes by the commit 4a96796, if this helps.
That's ~ the middle of October.

Introduced by 63cbd9c, so definitely some state. thin3d->InvalidateCachedState(); makes it work but maybe I can find what's getting set the wrong way...

Oh, looking at D3D11 CopyDisplayToOutput, it's obvious.

-[Unknown]