citra-emu
/
citra
Archived
1
0
Fork 0

Apply suggestions from code review

Co-Authored-By: Pengfei Zhu <zhupf321@gmail.com>
This commit is contained in:
Hamish Milne 2020-03-28 16:26:24 +00:00 committed by GitHub
parent 4aab38f133
commit bbf8e876ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
#pragma once
#include <array>
#include "boost/serialization/split_member.hpp"
#include <boost/serialization/split_member.hpp>
#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<u32*>(VideoCore::g_memory->GetPhysicalPointer(cmd_list.addr));
cmd_list.current_ptr = cmd_list.head_ptr + offset;
}
};