dolphin/Source/Core
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
..
AudioCommon CubebStream: Use WorkQueueThread::PushBlocking instead of sync_event 2025-11-07 13:19:18 -08:00
Common Merge pull request #14142 from JosJuice/directiofile-cant-create-saf 2025-11-23 09:50:44 +01:00
Core Merge pull request #14183 from LillyJadeKatrin/retroachievements-eternal-darkness-testing-my-sanity 2025-11-27 14:30:39 -06:00
DiscIO Merge pull request #13539 from tygyh/DiscIO-Remove-redundant-casts 2025-11-19 17:40:42 -06:00
DolphinNoGUI Merge pull request #13689 from JosJuice/lock-core-any-thread 2025-11-16 18:35:17 +01:00
DolphinQt Merge pull request #14169 from JosJuice/i18n-2025-11-25 2025-11-25 16:47:48 -06:00
DolphinTool Core: Remove IsHostThread 2025-11-10 21:14:56 +01:00
InputCommon DITConfiguration: Prevent a crash if images fail to load 2025-11-29 23:54:48 +01:00
MacUpdater
UICommon Merge pull request #13748 from Dentomologist/autoupdatechecker_delete_old_updater_log_file 2025-11-18 18:12:47 +01:00
UpdaterCommon
VideoBackends Merge pull request #14042 from iwubcode/bp_functions_global 2025-11-02 13:17:38 -05:00
VideoCommon Merge pull request #14149 from iwubcode/shader_asset_vector_properties 2025-11-23 06:34:45 -05:00
WinUpdater
CMakeLists.txt
DolphinLib.ARM64.props
DolphinLib.props Merge pull request #14066 from Biendeo/master 2025-11-25 23:12:39 +01:00
DolphinLib.vcxproj Core/HW: Add Broadband Adapter (IPC). 2025-10-28 18:50:59 +00:00
DolphinLib.vcxproj.user
DolphinLib.x64.props
VersionInfo.plist.in