From 1edcc8c0aca10883f20c2d4066a0ca488f529f34 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Tue, 10 Dec 2024 20:19:04 +1000 Subject: [PATCH] System: Merge system taints with state taints on load --- src/core/system.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/system.cpp b/src/core/system.cpp index a2084c5c9..2e1123ebe 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -2481,7 +2481,10 @@ bool System::DoState(StateWrapper& sw, GPUTexture** host_texture, bool update_di u32 state_taints = s_state.taints; sw.DoEx(&state_taints, 75, static_cast(0)); if (state_taints != s_state.taints) [[unlikely]] + { WarnAboutStateTaints(state_taints); + s_state.taints |= state_taints; + } sw.Do(&s_state.frame_number); sw.Do(&s_state.internal_frame_number);