From bbf8e876ab9dfed345968c550ca44cf39237f2c1 Mon Sep 17 00:00:00 2001 From: Hamish Milne Date: Sat, 28 Mar 2020 16:26:24 +0000 Subject: [PATCH] Apply suggestions from code review Co-Authored-By: Pengfei Zhu --- src/video_core/pica_state.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video_core/pica_state.h b/src/video_core/pica_state.h index 4e5a5f16b9..1879528cb8 100644 --- a/src/video_core/pica_state.h +++ b/src/video_core/pica_state.h @@ -5,7 +5,7 @@ #pragma once #include -#include "boost/serialization/split_member.hpp" +#include #include "common/bit_field.h" #include "common/common_types.h" #include "common/vector_math.h" @@ -239,7 +239,7 @@ private: void load(Archive& ar, const unsigned int file_version) { u32 offset{}; ar >> offset; - cmd_list.head_ptr = (u32*)VideoCore::g_memory->GetPhysicalPointer(cmd_list.addr); + cmd_list.head_ptr = reinterpret_cast(VideoCore::g_memory->GetPhysicalPointer(cmd_list.addr)); cmd_list.current_ptr = cmd_list.head_ptr + offset; } };