diff --git a/rpcs3/Emu/RSX/Common/expected.hpp b/rpcs3/Emu/RSX/Common/expected.hpp index 0a8e53ae7e..3349c15eb4 100644 --- a/rpcs3/Emu/RSX/Common/expected.hpp +++ b/rpcs3/Emu/RSX/Common/expected.hpp @@ -1,6 +1,8 @@ #pragma once #include + #include +#include #include namespace fmt diff --git a/rpcs3/Emu/RSX/rsx_methods.cpp b/rpcs3/Emu/RSX/rsx_methods.cpp index 6e21fc8e39..aa8a3f208f 100644 --- a/rpcs3/Emu/RSX/rsx_methods.cpp +++ b/rpcs3/Emu/RSX/rsx_methods.cpp @@ -803,7 +803,7 @@ namespace rsx const auto current = method_registers.decode(arg); const auto previous = method_registers.decode(method_registers.register_previous_value); - if (current.antialias() != previous.antialias() || // Antialias control has changed, update ROP parameters + if (*current.antialias() != *previous.antialias() || // Antialias control has changed, update ROP parameters current.is_integer_color_format() != previous.is_integer_color_format()) // The type of color format also requires ROP control update { rsx->m_graphics_state |= rsx::pipeline_state::fragment_state_dirty;