From 29c1b20b411d943cfed6d8be40cb8f2841d61c9c Mon Sep 17 00:00:00 2001 From: kd-11 Date: Tue, 10 Jan 2023 00:07:30 +0300 Subject: [PATCH] Fix compilation --- rpcs3/Emu/RSX/Common/expected.hpp | 2 ++ rpcs3/Emu/RSX/rsx_methods.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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;