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.
https://www.ppsspp.org
Other
11.43k stars 2.19k forks source link

D3D9 fix #19525

Closed oltolm closed 1 month ago

oltolm commented 1 month ago

This a fix for a bug that I introduced in my MR #19413. Sorry.

I also made a small refactoring because I dislike using ComPtr::Detach and I prefer methods that return HRESULT. But I can drop it if you think it's unnecessary.

hrydgard commented 1 month ago

Thanks! The little refactoring looks good to me.