Bus: Work around VS2017 bug with std::array

This commit is contained in:
Connor McLaughlin
2020-07-08 12:44:12 +10:00
parent 6ae5caa23b
commit 57cf40d1ae
3 changed files with 8 additions and 8 deletions

View File

@ -518,7 +518,7 @@ TickCount DMA::TransferDeviceToMemory(Channel channel, u32 address, u32 incremen
if (dest_pointer == m_transfer_buffer.data())
{
u8* ram_pointer = m_bus->m_ram.data();
u8* ram_pointer = m_bus->m_ram;
for (u32 i = 0; i < word_count; i++)
{
std::memcpy(&ram_pointer[address], &m_transfer_buffer[i], sizeof(u32));