rsx: Optimize rsx::rsx_iomap_table construction

This commit is contained in:
Eladash 2020-06-08 06:59:09 +03:00 committed by Ivan
parent e1f8573c68
commit bd6fdf3f2d
1 changed files with 2 additions and 2 deletions

View File

@ -46,8 +46,8 @@ namespace rsx
rsx_iomap_table() noexcept rsx_iomap_table() noexcept
{ {
std::fill(ea.begin(), ea.end(), -1); std::memset(ea.data(), -1, sizeof(ea));
std::fill(io.begin(), io.end(), -1); std::memset(io.data(), -1, sizeof(io));
} }
// Try to get the real address given a mapped address // Try to get the real address given a mapped address