dolphin/Source
Joshua Vandaële 5a6dc310c0
DITConfiguration: Prevent a crash if images fail to load
Recently came across a strange issue where Dolphin would hard crash in most games with this error:

```sh
/usr/include/c++/15.2.1/optional:1165: constexpr const _Tp* std::optional<_Tp>::operator->() const [with _Tp = InputCommon::ImagePixelData]: Assertion 'this->_M_is_engaged()' failed.
```

The culprit turned out to be accessing `host_key_image` which is an `std::optional` thay may return `std::nullopt`. I'm not sure why this issue started occuring for me since I've had no issue with my Dynamic Input Textures in the past? But this fixes a crash if the image fails to load.
2025-11-29 23:54:48 +01:00
..
Android Merge pull request #14159 from JosJuice/android-retroachievements-login-gone 2025-11-25 20:52:29 +01:00
Core DITConfiguration: Prevent a crash if images fail to load 2025-11-29 23:54:48 +01:00
DSPSpy DSPSpy: Make RealDSP final and make overide explicit 2025-05-10 13:02:55 +02:00
DSPTool Host: Remove unnecessary functions 2025-08-03 13:19:30 -07:00
PCH
UnitTests Disable PatchAllowlistTest if USE_RETRO_ACHIEVEMENTS is OFF 2025-11-27 01:26:51 +01:00
VSProps Merge pull request #13694 from jordan-woyak/sdl3 2025-06-24 18:59:48 -04:00
.clang-format Clang-format: Fix invalid settings 2025-05-01 22:05:07 +02:00
CMakeLists.txt CMakeLists: Disable -Wtrigraphs. 2025-11-08 22:38:03 +00:00
dolphin-emu.sln Core/HW: Add Visual Studio project files for cpp-ipc library. 2025-10-28 18:50:58 +00:00