From c51d3b546508bb3255703cf4fc839f4cbd3a7ae9 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Tue, 9 Aug 2022 18:07:56 +0300 Subject: [PATCH] Workaround for msvc weirdness --- rpcs3/Emu/RSX/Common/surface_cache_storage.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rpcs3/Emu/RSX/Common/surface_cache_storage.hpp b/rpcs3/Emu/RSX/Common/surface_cache_storage.hpp index 4f0e0b7db8..9176709c46 100644 --- a/rpcs3/Emu/RSX/Common/surface_cache_storage.hpp +++ b/rpcs3/Emu/RSX/Common/surface_cache_storage.hpp @@ -6,7 +6,11 @@ namespace rsx template class surface_cache_data_map : public ranged_map { +#ifdef _MSC_VER + using super = ranged_map; +#else using super = class ranged_map; +#endif using metadata_t = typename super::block_metadata_t; const metadata_t& find_head_block(u32 address)