VERY experimental Nintendo Switch 2 emulator
C++
[video_core/control] Fix SIGBUS due to uninit channel_state (#4406)
lizzie9b649444803b
diff --git a/src/video_core/control/channel_state_cache.h b/src/video_core/control/channel_state_cache.hindex 6d70e9be55..cb7cc891f5 100644--- a/src/video_core/control/channel_state_cache.h+++ b/src/video_core/control/channel_state_cache.h@@ -78,7 +78,7 @@ public:protected:static constexpr size_t UNSET_CHANNEL{(std::numeric_limits<size_t>::max)()};- P* channel_state;+ P* channel_state = nullptr;size_t current_channel_id{UNSET_CHANNEL};size_t current_address_space{};Tegra::Engines::Maxwell3D* maxwell3d{};