all repos — mgba @ 7e9f43a9c91f96e9af0c815b7cccd422c0bb4fbf

mGBA Game Boy Advance Emulator

Qt: Fix reversed arguments to m_core->rawWriteX functions (#373)

Dwayne Slater ds84182@gmail.com
Sun, 04 Sep 2016 16:13:15 -0400
commit

7e9f43a9c91f96e9af0c815b7cccd422c0bb4fbf

parent

8f12a5134417237d9e06f386190ad8ef0da47077

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M src/platform/qt/MemoryModel.cppsrc/platform/qt/MemoryModel.cpp

@@ -434,13 +434,13 @@ ++m_bufferedNybbles;

if (m_bufferedNybbles == m_align * 2) { switch (m_align) { case 1: - m_core->rawWrite8(m_core, m_selection.first, m_buffer, m_currentBank); + m_core->rawWrite8(m_core, m_selection.first, m_currentBank, m_buffer); break; case 2: - m_core->rawWrite16(m_core, m_selection.first, m_buffer, m_currentBank); + m_core->rawWrite16(m_core, m_selection.first, m_currentBank, m_buffer); break; case 4: - m_core->rawWrite32(m_core, m_selection.first, m_buffer, m_currentBank); + m_core->rawWrite32(m_core, m_selection.first, m_currentBank, m_buffer); break; } m_bufferedNybbles = 0;